Improvements 🔧
- Tip linking to blogpost about solving "no value type specified in iterable type" error (phpstan/phpstan-src@d0a35b5)
- Do not report "Unable to resolve template type" when the type is not present in parameters (phpstan/phpstan-src@cec9ef6)
- WrongVariableNameInVarTagRule - report for all statement types (phpstan/phpstan-src@0e84414)
- InvalidPhpDocVarTagTypeRule - report for all PHPDocs containing
@var
(phpstan/phpstan-src@a5a9a4d)
Bleeding edge 🔪
- Check that function-scoped template type is in a parameter (phpstan/phpstan-src@18bdd34)
If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon
:
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included.
Bugfixes 🐛
- Fix resolving types in
@var
aboveuse
statement (phpstan/phpstan-src@4fff79c), #4486 - Fix resolving types in
@var
abovenamespace
statement (phpstan/phpstan-src@26fb6dd) - Result cache - invalidate after running
composer install
(phpstan/phpstan-src@f11c0f0), #4495