@@ -6736,6 +6736,21 @@ public function dataTextBetweenTagsBelongsToDescription(): iterable
67366736 ]),
67376737 ];
67386738
6739+ yield [
6740+ '/** ' . PHP_EOL .
6741+ ' * Real description ' . PHP_EOL .
6742+ ' * @param int $a ' . PHP_EOL .
6743+ ' * ' . PHP_EOL .
6744+ ' * @param int $b ' . PHP_EOL .
6745+ ' */ ' ,
6746+ new PhpDocNode ([
6747+ new PhpDocTextNode ('Real description ' ),
6748+ new PhpDocTagNode ('@param ' , new ParamTagValueNode (new IdentifierTypeNode ('int ' ), false , '$a ' , '' )),
6749+ new PhpDocTextNode ('' ),
6750+ new PhpDocTagNode ('@param ' , new ParamTagValueNode (new IdentifierTypeNode ('int ' ), false , '$b ' , '' )),
6751+ ]),
6752+ ];
6753+
67396754 yield [
67406755 '/** ' . PHP_EOL .
67416756 ' * Real description ' . PHP_EOL .
@@ -6793,6 +6808,135 @@ public function dataTextBetweenTagsBelongsToDescription(): iterable
67936808 new PhpDocTagNode ('@param ' , new ParamTagValueNode (new IdentifierTypeNode ('int ' ), false , '$b ' , '' )),
67946809 ]),
67956810 ];
6811+
6812+ yield [
6813+ '/** ' . PHP_EOL .
6814+ ' * Real description ' . PHP_EOL .
6815+ ' * @param int $a ' . PHP_EOL .
6816+ ' * ' . PHP_EOL .
6817+ ' * ' . PHP_EOL .
6818+ ' */ ' ,
6819+ new PhpDocNode ([
6820+ new PhpDocTextNode ('Real description ' ),
6821+ new PhpDocTagNode ('@param ' , new ParamTagValueNode (new IdentifierTypeNode ('int ' ), false , '$a ' , '' )),
6822+ new PhpDocTextNode ('' ),
6823+ new PhpDocTextNode ('' ),
6824+ ]),
6825+ ];
6826+
6827+ yield [
6828+ '/** ' . PHP_EOL .
6829+ ' * Real description ' . PHP_EOL .
6830+ ' * @param int $a ' . PHP_EOL .
6831+ ' * ' . PHP_EOL .
6832+ ' * ' . PHP_EOL .
6833+ ' * test ' . PHP_EOL .
6834+ ' */ ' ,
6835+ new PhpDocNode ([
6836+ new PhpDocTextNode ('Real description ' ),
6837+ new PhpDocTagNode ('@param ' , new ParamTagValueNode (new IdentifierTypeNode ('int ' ), false , '$a ' , PHP_EOL . PHP_EOL . PHP_EOL . 'test ' )),
6838+ ]),
6839+ ];
6840+
6841+ yield [
6842+ '/** ' . PHP_EOL .
6843+ ' * Real description ' . PHP_EOL .
6844+ ' * @param int $a test ' . PHP_EOL .
6845+ ' * ' . PHP_EOL .
6846+ ' * ' . PHP_EOL .
6847+ ' */ ' ,
6848+ new PhpDocNode ([
6849+ new PhpDocTextNode ('Real description ' ),
6850+ new PhpDocTagNode ('@param ' , new ParamTagValueNode (new IdentifierTypeNode ('int ' ), false , '$a ' , 'test ' )),
6851+ new PhpDocTextNode ('' ),
6852+ new PhpDocTextNode ('' ),
6853+ ]),
6854+ ];
6855+
6856+ yield [
6857+ '/** ' . PHP_EOL .
6858+ ' * Real description ' . PHP_EOL .
6859+ ' * @param int $a ' . PHP_EOL .
6860+ ' * test ' . PHP_EOL .
6861+ ' * ' . PHP_EOL .
6862+ ' * ' . PHP_EOL .
6863+ ' */ ' ,
6864+ new PhpDocNode ([
6865+ new PhpDocTextNode ('Real description ' ),
6866+ new PhpDocTagNode ('@param ' , new ParamTagValueNode (new IdentifierTypeNode ('int ' ), false , '$a ' , PHP_EOL . ' test ' )),
6867+ new PhpDocTextNode ('' ),
6868+ //new PhpDocTextNode(''),
6869+ ]),
6870+ ];
6871+
6872+ yield [
6873+ '/** ' . PHP_EOL .
6874+ ' * Real description ' . PHP_EOL .
6875+ ' * @param int $a ' . PHP_EOL .
6876+ ' * test ' . PHP_EOL .
6877+ ' * ' . PHP_EOL .
6878+ ' * ' . PHP_EOL .
6879+ ' * ' . PHP_EOL .
6880+ ' */ ' ,
6881+ new PhpDocNode ([
6882+ new PhpDocTextNode ('Real description ' ),
6883+ new PhpDocTagNode ('@param ' , new ParamTagValueNode (new IdentifierTypeNode ('int ' ), false , '$a ' , PHP_EOL . ' test ' )),
6884+ new PhpDocTextNode ('' ),
6885+ new PhpDocTextNode ('' ),
6886+ //new PhpDocTextNode(''),
6887+ ]),
6888+ ];
6889+
6890+ yield [
6891+ '/** ' . PHP_EOL .
6892+ ' * Real description ' . PHP_EOL .
6893+ ' * @param int $a ' . PHP_EOL .
6894+ ' * test ' . PHP_EOL .
6895+ ' * ' . PHP_EOL .
6896+ ' * test 2 ' . PHP_EOL .
6897+ ' * ' . PHP_EOL .
6898+ ' */ ' ,
6899+ new PhpDocNode ([
6900+ new PhpDocTextNode ('Real description ' ),
6901+ new PhpDocTagNode ('@param ' , new ParamTagValueNode (new IdentifierTypeNode ('int ' ), false , '$a ' , PHP_EOL . ' test ' . PHP_EOL . PHP_EOL . 'test 2 ' )),
6902+ //new PhpDocTextNode(''),
6903+ ]),
6904+ ];
6905+ yield [
6906+ '/** ' . PHP_EOL .
6907+ ' * Real description ' . PHP_EOL .
6908+ ' * @param int $a ' . PHP_EOL .
6909+ ' * test ' . PHP_EOL .
6910+ ' * ' . PHP_EOL .
6911+ ' * test 2 ' . PHP_EOL .
6912+ ' * ' . PHP_EOL .
6913+ ' * ' . PHP_EOL .
6914+ ' */ ' ,
6915+ new PhpDocNode ([
6916+ new PhpDocTextNode ('Real description ' ),
6917+ new PhpDocTagNode ('@param ' , new ParamTagValueNode (new IdentifierTypeNode ('int ' ), false , '$a ' , PHP_EOL . ' test ' . PHP_EOL . PHP_EOL . 'test 2 ' )),
6918+ new PhpDocTextNode ('' ),
6919+ //new PhpDocTextNode(''),
6920+ ]),
6921+ ];
6922+
6923+ yield [
6924+ '/** ' . PHP_EOL .
6925+ ' * Real description ' . PHP_EOL .
6926+ ' * @ORM\Column() ' . PHP_EOL .
6927+ ' * test ' . PHP_EOL .
6928+ ' * ' . PHP_EOL .
6929+ ' * test 2 ' . PHP_EOL .
6930+ ' * ' . PHP_EOL .
6931+ ' * ' . PHP_EOL .
6932+ ' */ ' ,
6933+ new PhpDocNode ([
6934+ new PhpDocTextNode ('Real description ' ),
6935+ new PhpDocTagNode ('@ORM\Column ' , new DoctrineTagValueNode (new DoctrineAnnotation ('@ORM\Column ' , []), PHP_EOL . ' test ' . PHP_EOL . PHP_EOL . 'test 2 ' )),
6936+ new PhpDocTextNode ('' ),
6937+ //new PhpDocTextNode(''),
6938+ ]),
6939+ ];
67966940 }
67976941
67986942 /**
0 commit comments