Update dependency phpstan/phpstan to v1.10.57
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.10.56 -> 1.10.57
|
Release Notes
phpstan/phpstan (phpstan/phpstan)
v1.10.57
🔪
Bleeding edge
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. Learn more
🔧
Improvements - Update
ClassReflection::getConstant()
return type (https://github.com/phpstan/phpstan-src/commit/8d4ea60a5710bff1b95c918c2a3ee948fc35bae7) - Cover
ClassConstantReflection
with BC promise (https://github.com/phpstan/phpstan-src/commit/8f82b799c5e65424d85a79ffdc60b3ea14d95731)
🐛
Bugfixes - Preserve TemplateTypeArray when merging array types (https://github.com/phpstan/phpstan-src/commit/8342785e39da26631f5f2d972de1fe39f3aeafeb), #10445
- Fix
array_filter
callback return type (https://github.com/phpstan/phpstan-src/commit/59ae706f1333da5de88224a04bfec71a1a8d6acd) - Fix undefined XMLReader properties with local phpstorm-stubs patch (https://github.com/phpstan/phpstan-src/commit/2d364d781c551002ed2a648447b04401744b4b6f), #8629
- Fix spaceship operator for large constant unions (#2886), thanks @schlndh!
- MissingClassConstantTypehintRule should not apply to native types (https://github.com/phpstan/phpstan-src/commit/6363932c56678f5d49a960f65b09fb2c11cd7dd3)
- Do not generalize class-level
@template
type in method call (https://github.com/phpstan/phpstan-src/commit/11268e5eebb2b147007fdc4902d91a3418175594), #10473
🤖
Function signature fixes
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.