PHPStan v0.12.57 Release Notes
Release Date: 2020-11-21 // over 3 years ago-
๐ Improvements ๐ง
- ๐ New Docker image hosted in GitHub Container Registry and based on PHP 8. See the homepage and the documentation.
- ๐ Support for attributes (PHP 8)
- Result cache does not get invalidated when only ignoreErrors changes (phpstan/phpstan-src@ef84d94) - this makes working with the baseline instantaneous!
- โช Result cache - do not restore and save when only files (not directories) are passed as analysed paths (phpstan/phpstan-src@dd11e25)
- FunctionCallParametersCheck - more precise lines (phpstan/phpstan-src@ba119bc)
๐ Bugfixes ๐
- ๐จ Refactored levels that report named arguments errors (phpstan/phpstan-src@1e42295)
- TeamcityErrorFormatter - attempt to fix notFileSpecificErrors that do not appear (phpstan/phpstan-src@8ec0a96)
- ๐ Fix FloatType equaling ConstantFloatType (#375), thanks @jlherren!
- ๐ Fixed wrong closure typehint (phpstan/phpstan-src@50aff6d), #4097
- PhpFunctionReflection - do not return nonexistent filename (phpstan/phpstan-src@e496d71, phpstan/phpstan-src@f000222, phpstan/phpstan-src@3ea4fc3), #4089
- โก๏ธ Updated BetterReflection (phpstan/phpstan-src@73a0c1b), #4095
- Turns out static method can be called on a trait (phpstan/phpstan-src@86c11d3), #4107
๐ฑ Function signature fixes ๐ค