There is a failing test in ParserTest::testSimpleOneClassWithTrait():
|
static::assertSame( |
|
'array{stdClass: \stdClass, numbers: int|float $lall', |
|
$phpClasses[Dummy8::class]->methods['foo_broken']->parameters['lall']->phpDocRaw |
|
); |
|
* @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
There is a failing test in
ParserTest::testSimpleOneClassWithTrait():Simple-PHP-Code-Parser/tests/ParserTest.php
Lines 205 to 208 in b72daff
Simple-PHP-Code-Parser/tests/Dummy8.php
Line 58 in b72daff
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