Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 938b7fa

Browse files
Fix Windows tests
1 parent fdb8bc4 commit 938b7fa

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

‎tests/PHPStan/Parser/PhpDocParserTest.php‎

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2953,10 +2953,10 @@ public function provideMultiLinePhpDocData(): iterable
29532953
new IdentifierTypeNode('Foo'),
29542954
false,
29552955
'$foo',
2956-
'1st multi world description with empty lines' . PHP_EOL .
2957-
PHP_EOL .
2958-
PHP_EOL .
2959-
'some text in the middle',
2956+
'1st multi world description with empty lines
2957+
2958+
2959+
some text in the middle',
29602960
),
29612961
),
29622962
new PhpDocTextNode(''),
@@ -2967,10 +2967,10 @@ public function provideMultiLinePhpDocData(): iterable
29672967
new IdentifierTypeNode('Bar'),
29682968
false,
29692969
'$bar',
2970-
'2nd multi world description with empty lines' . PHP_EOL .
2971-
PHP_EOL .
2972-
PHP_EOL .
2973-
'test',
2970+
'2nd multi world description with empty lines
2971+
2972+
2973+
test',
29742974
),
29752975
),
29762976

@@ -4948,15 +4948,17 @@ public function provideRealWorldExampleData(): Iterator
49484948
new IdentifierTypeNode('\Drupal\Core\Field\FieldStorageDefinitionInterface'),
49494949
false,
49504950
'$field_definition',
4951-
PHP_EOL . ' The field definition.',
4951+
'
4952+
The field definition.',
49524953
),
49534954
),
49544955
new PhpDocTextNode(''),
49554956
new PhpDocTagNode(
49564957
'@return',
49574958
new ReturnTagValueNode(
49584959
new IdentifierTypeNode('array'),
4959-
PHP_EOL . " An empty array if there is no schema, or an associative array with the
4960+
"
4961+
An empty array if there is no schema, or an associative array with the
49604962
following key/value pairs:
49614963
- columns: An array of Schema API column specifications, keyed by column
49624964
name. The columns need to be a subset of the properties defined in

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /