Closed stronk7 closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 98.11%. Comparing base (
85e9e0a
) to head (13b8e00
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Just amended a few comments and add a new case, via provider, to ensure all cases are covered.
Previously, we were allowing the
getDocTagFromOpenTag()
method to advance too much when looking for file phpdoc blocks. Now we stop as soon as any of the stop tokens is found.Note that this case is very edge one, only reproducible when there are lots of missing class/function phpdoc block, causing some other phpdoc block (type-hinting a variable or whatever) to be picked.
In any case, I think that it's perfectly ok to shortcut the search that way, it can save us some precious iterations.
Fixes #172