mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
lhchavez
ba63ccb825
Improve \Psalm\Internal\Scanner\DocblockParser::parse() (#3736)
This change avoids calling `str_replace()` on the original docblock and instead only operates on the parsed (and modified) lines. This now makes it so that if there are substrings of the docblock that match a tag match, it won't get prematurely removed, therefore avoiding mangling of the parsed docblock's description. Fixes: #3735
…
…
Psalm
Psalm is a static analysis tool for finding errors in PHP applications, built on top of PHP Parser.
It's able to find a large number of issues, but it can also be configured to only care about a small subset of those.
Try a live demo, or install it in your project by following the Quickstart Guide below.
Psalm documentation
Documentation is available on Psalm’s website, generated from the docs folder.
To get started, check out the installation guide
Interested in contributing?
Have a look at CONTRIBUTING.md.
Acknowledgements
The engineering team @vimeo for encouragement and patience, especially @nbeliard, @erunion and @nickyr.
Languages
PHP
100%