Commit 4902e4b
committed
Recognize @phpstan-pure-unless-callable-is-impure as a known tag
InvalidPHPStanDocTagRule matches @phpstan-* tags by name against a
hardcoded list, so native phpdoc-parser recognition does not exempt
them. @phpstan-pure-unless-callable-is-impure was never added to that
list and is currently reported as an unknown tag; add it alongside
@phpstan-pure-unless-parameter-passed and drop the stale TODO.1 parent 02f5a45 commit 4902e4b
2 files changed
Lines changed: 10 additions & 2 deletions
File tree
- src/Rules/PhpDoc
- tests/PHPStan/Rules/PhpDoc/data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
| 67 | + | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
0 commit comments