We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0666db5 + 35bfc80 commit d7b38eaCopy full SHA for d7b38ea
tests/PHPStan/Parser/PhpDocParserTest.php
@@ -2566,6 +2566,25 @@ public function provideSingleLinePhpDocData(): Iterator
2566
]),
2567
];
2568
2569
+ yield [
2570
+ '@example with description starting at next line',
2571
+ '/** ' . PHP_EOL .
2572
+ ' * @example' . PHP_EOL .
2573
+ ' * entity_managers:' . PHP_EOL .
2574
+ ' * default:' . PHP_EOL .
2575
+ ' */',
2576
+ new PhpDocNode([
2577
+ new PhpDocTagNode(
2578
+ '@example',
2579
+ new GenericTagValueNode('')
2580
+ ),
2581
+ new PhpDocTextNode(
2582
+ 'entity_managers:' . PHP_EOL .
2583
+ ' default:'
2584
2585
+ ]),
2586
+ ];
2587
+
2588
yield [
2589
'callable with space between keyword and parameters',
2590
'/** @var callable (int): void */',
0 commit comments