-
-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
There is a failing test in ParserTest::testSimpleOneClassWithTrait():
Simple-PHP-Code-Parser/tests/ParserTest.php
Lines 205 to 208 in b72daff
| static::assertSame( | |
| 'array{stdClass: \stdClass, numbers: int|float $lall', | |
| $phpClasses[Dummy8::class]->methods['foo_broken']->parameters['lall']->phpDocRaw | |
| ); |
Simple-PHP-Code-Parser/tests/Dummy8.php
Line 58 in b72daff
| * @param array{stdClass: \stdClass, numbers: int|float $lall <foo/> |
Failed asserting that two strings are identical.
Expected :'array{stdClass: \stdClass, numbers: int|float $lall'
Actual :'array{stdClass: \stdClass, numbers: int|float $lall '
Can you tell me what the correct value is? "raw" is arguably the entire string. And "broken" suggests a value with invalid syntax is still a valid result, which could mean with or without the <foo/> string.
Thanks
Metadata
Metadata
Assignees
Labels
No labels