1.10.55
版本发布时间: 2024-01-08 20:34:27
phpstan/phpstan最新发布版本:1.12.6(2024-10-06 23:06:59)
Improvements 🔧
- PHPDoc tag
@phpstan-ignore-next-line
works for first line below the PHPDoc even in bleeding edge (https://github.com/phpstan/phpstan-src/commit/8b6260c21bacbfd653d26b9a8abef7996fd3fe46), #10383, https://github.com/phpstan/phpstan/discussions/10374 - Add
open-resource
type (https://github.com/phpstan/phpstan-src/commit/bbd9a68478abbc500b6398968cc85d0d1ae8d3eb), #10399 - Optimize repeated container creation in tests (#2860), thanks @schlndh!
- Try to prevent error with PHP-Parser 5 when running PHPUnit tests (https://github.com/phpstan/phpstan-src/commit/9dac90dfd5fc809dd84fdac0532ecd51c6ae66bf), #10401, thanks @zonuexe!
Bugfixes 🐛
- Fix mixing property and param attributes on promoted property (#2825), #10385
- Fix detection of shadowed trait methods (https://github.com/phpstan/phpstan-src/commit/22700511d91b748240da0ac8b697f2ab409aad21), #10377
- Fix int-range return type for range() (#2792), #10213, #9573, thanks @dantleech!
Internals 🔍
- Remove unused DirectClassReflectionExtensionRegistryProvider (#2857), thanks @staabm!
- Plumbing for
@phpstan-require-extends
and@phpstan-require-implements
(#2856), thanks @staabm! -
Scope::getFunctionCallStack()
(https://github.com/phpstan/phpstan-src/commit/9be137675ebc41be5c9c7c230f96cab4dbf1f08e), https://github.com/phpstan/phpstan-deprecation-rules/issues/106
1、 phpstan.phar 21.3MB
2、 phpstan.phar.asc 833B