------ ----------------------------------------------------------------------------------
Line src/File.php
------ ----------------------------------------------------------------------------------
16 Should have been resolved in APP-1234: <comment>
💡 See https://<host>.atlassian.net/browse/APP-1234
16 Should have been resolved in APP-1234: <comment>
💡 See https://<host>.atlassian.net/browse/APP-1234
------ ----------------------------------------------------------------------------------
Additional Info
Collector visits two nodes in a file and both have the same comment: PhpParser\Node\Stmt\Property and PhpParser\Node\AttributeGroup - that's probably the cause
In some cases, the same expired comment is reported twice.
Version
phpstan: 1.11.5 phpstan-todo-by: 0.1.27
Code
Configuration (interesting parts)
Command parameters
vendor/bin/phpstan analyse -c phpstan.neon src tests fixtures public/index.php
Output
Additional Info
Collector visits two nodes in a file and both have the same comment:
PhpParser\Node\Stmt\Property
andPhpParser\Node\AttributeGroup
- that's probably the causeReproducer: https://github.com/EmilMassey/phpstan-todo-by/commit/3898c039db0e345798b2339e448243fc36c41200