Improvements 🔧
phpstan.phar
is built with Composer v2, solvesOutOfBoundsException: Package "project/project" is not installed
error (getsentry/sentry-symfony#383) thanks to composer/composer#9635- Optimization for currently analysed class reflection when there's only one occurrence of the same class in a project (phpstan/phpstan-src@d3435dd), #4435
Bugfixes 🐛
- "Unable to resolve template type" has to check against explicit NeverType only (phpstan/phpstan-src@ba4bc4f), #4422
- Update phpstorm-stubs (phpstan/phpstan-src@6bbd629)
- Fix link in "internal error" message (phpstan/phpstan-src@a2ce51b)
Function signature fixes 🤖
- Add SimpleXmlElementXpathMethodReturnTypeExtension (#428), thanks @VincentLanglet!
- Allow lowercase variant of constant for
setcookie()
(#431), thanks @VincentLanglet!