Skip to content

Commit

Permalink
Fix Windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Sep 7, 2024
1 parent fdb8bc4 commit 938b7fa
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions tests/PHPStan/Parser/PhpDocParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2953,10 +2953,10 @@ public function provideMultiLinePhpDocData(): iterable
new IdentifierTypeNode('Foo'),
false,
'$foo',
'1st multi world description with empty lines' . PHP_EOL .
PHP_EOL .
PHP_EOL .
'some text in the middle',
'1st multi world description with empty lines
some text in the middle',
),
),
new PhpDocTextNode(''),
Expand All @@ -2967,10 +2967,10 @@ public function provideMultiLinePhpDocData(): iterable
new IdentifierTypeNode('Bar'),
false,
'$bar',
'2nd multi world description with empty lines' . PHP_EOL .
PHP_EOL .
PHP_EOL .
'test',
'2nd multi world description with empty lines
test',
),
),

Expand Down Expand Up @@ -4948,15 +4948,17 @@ public function provideRealWorldExampleData(): Iterator
new IdentifierTypeNode('\Drupal\Core\Field\FieldStorageDefinitionInterface'),
false,
'$field_definition',
PHP_EOL . ' The field definition.',
'
The field definition.',
),
),
new PhpDocTextNode(''),
new PhpDocTagNode(
'@return',
new ReturnTagValueNode(
new IdentifierTypeNode('array'),
PHP_EOL . " An empty array if there is no schema, or an associative array with the
"
An empty array if there is no schema, or an associative array with the
following key/value pairs:
- columns: An array of Schema API column specifications, keyed by column
name. The columns need to be a subset of the properties defined in
Expand Down

0 comments on commit 938b7fa

Please sign in to comment.