You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"use one static analysis tool and Doctrine projects will use PHPStan going forward. For now Psalm checks will be removed from repositories over the next weeks.
This is mainly because PHPStan has outpaced Psalm in depth and quality in the last few years and it feels unlikely that Psalm can point to a problem that PHPStan did not detect before. If in the future Psalm catches up to PHPStan we may reconsider adding it."
Activity
arhimede commentedon Nov 12, 2024
@MarioRadu maybe we will need to create a separate library
phpstan-mezzio
to handle custom mezzio logic
arhimede commentedon Nov 13, 2024
example:
https://github.com/Slamdunk/phpstan-laminas-framework
arhimede commentedon Nov 13, 2024
phpstan/phpstan#8986
arhimede commentedon Nov 15, 2024
so the decision of Dotkernel TSC was to swith to phpstan and drop psalm
and create a *.neo files with temporary exceptions
https://github.com/doctrine/orm/blob/3.3.x/phpstan.neon
https://github.com/doctrine/orm/blob/3.3.x/phpstan-params.neon
Level 5 for the moment
alexmerlin commentedon Nov 20, 2024
Implemented in #348 #349 #350 and #351