1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-06 13:08:40 +01:00
psalm/src/Psalm/Internal/Scanner
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
2020-07-02 17:55:57 -04:00
..
UnresolvedConstant Fix #3132 - resolve array access in constant properly 2020-04-18 12:39:00 -04:00
ClassLikeDocblockComment.php Improve tainting of specializable classes 2020-06-19 01:22:51 -04:00
DocblockParser.php Improve \Psalm\Internal\Scanner\DocblockParser::parse() (#3736) 2020-07-02 17:55:57 -04:00
FileScanner.php Fix #3032 - always replay docblock issues when analysing files 2020-03-28 19:54:55 -04:00
FunctionDocblockComment.php Add new annotation: @psalm-self-out (#3650) 2020-07-01 18:10:24 -04:00
ParsedDocblock.php Improve \Psalm\Internal\Scanner\DocblockParser::parse() (#3736) 2020-07-02 17:55:57 -04:00
PhpStormMetaScanner.php Add non-empty-lowercase-string type 2020-05-15 10:18:05 -04:00
UnresolvedConstantComponent.php Fix #1551 - do better at inferring class constant types 2019-09-14 14:26:31 -04:00
VarDocblockComment.php Add faster taint analysis 2020-05-22 12:33:29 -04:00