Init #10
Annotations
3 errors
|
🧪 PHPUnit Tests:
tests/Blueprint/MiscTest.php#L107
JBZoo\PHPUnit\Blueprint\MiscTest::testCheckPhpSchemaExampleInReadme
The file doesn't contain expected text.
See: README.md
Expected text:
--------------------------------------------------------------------------------
<details>
<summary>Click to see: PHP Array as file</summary>
```php
<?php
declare(strict_types=1);
return [
'csv' => [
'header' => true,
'delimiter' => ',',
'quote_char' => '\\',
'enclosure' => '"',
'encoding' => 'utf-8',
'bom' => false,
],
'columns' => [
[
'name' => 'csv_header_name',
'description' => 'Lorem ipsum',
'rules' => [
'not_empty' => true,
'exact_value' => 'Some string',
'allow_values' => ['y', 'n', ''],
'regex' => '/^[\\d]{2}$/',
'min_length' => 1,
'max_length' => 10,
'only_trimed' => true,
'only_lowercase' => true,
'only_uppercase' => true,
'only_capitalize' => true,
'min' => 10,
'max' => 100.5,
'precision' => 2,
'date_format' => 'Y-m-d',
'min_date' => '2000-01-02',
'max_date' => '+1 day',
'is_bool' => true,
'is_int' => true,
'is_float' => true,
'is_ip' => true,
'is_url' => true,
'is_email' => true,
'is_domain' => true,
'is_uuid4' => true,
'is_latitude' => true,
'is_longitude' => true,
'cardinal_direction' => true,
'usa_market_name' => true,
],
],
],
];
```
</details>
--------------------------------------------------------------------------------
Failed asserting that false is true.
vendor/jbzoo/phpunit/src/functions/aliases.php:79
vendor/jbzoo/phpunit/src/functions/aliases.php:439
tests/Blueprint/MiscTest.php:150
tests/Blueprint/MiscTest.php:109
|
🧪 PHPUnit Tests
Process completed with exit code 2.
|
Loading