Closed ajcastro closed 3 years ago
@ajcastro now you'll be able to have a one line annotation but we're not supporting several annotations on a single line.
I couldn't fix the issue if the test has inconsistent line ending. I think you can fix that with your editor or with git.
Currently getting the docbloc annotations depends on parsing the string
$docComment
and exploding it in by PHP_EOL. This brings an issue when some files are not in correct line endings. Also docblocks like this/** @enlighten {"order": 4} **/
does not work because the current implementation hassplice(1, -1)
.I propose to change it into something like the code below and I think this works better: