Skip to content

Commit

Permalink
Update PHP array format in README and test case for PHP format in Blu…
Browse files Browse the repository at this point in the history
…eprint.
  • Loading branch information
Denis Smet committed Mar 10, 2024
1 parent c57d003 commit 56edbc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ columns:


<details>
<summary>Click to see: PHP Array as file</summary>
<summary>Click to see: PHP Format</summary>

```php
<?php
declare(strict_types=1);

return [
'csv' => [
'csv' => [
'header' => true,
'delimiter' => ',',
'quote_char' => '\\',
Expand Down
2 changes: 1 addition & 1 deletion tests/Blueprint/MiscTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function testCheckYmlSchemaExampleInReadme(): void

public function testCheckPhpSchemaExampleInReadme(): void
{
$this->testCheckExampleInReadme(PROJECT_ROOT . '/schema-examples/full.php', 'php', 'PHP Array as file', 14);
$this->testCheckExampleInReadme(PROJECT_ROOT . '/schema-examples/full.php', 'php', 'PHP Format', 14);
}

public function testCheckJsonSchemaExampleInReadme(): void
Expand Down

0 comments on commit 56edbc9

Please sign in to comment.