Bump phpstan/phpstan from 1.9.2 to 1.9.3
Bumps phpstan/phpstan from 1.9.2 to 1.9.3.
Release notes
Sourced from phpstan/phpstan's releases.
1.9.3
Bleeding edge
🔪
- Fix invariance composition (#2054), thanks
@jiripudil
!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
🔧
- TypeInferenceTestCase - do not allow files with no asserts (#1992), #8346, #8094, thanks
@herndlm
!DateTimeZone::__construct
throw type extension (#2034)- TableErrorFormatter: allow editor url title configuration (#2035), #7796, thanks
@janedbal
!- Various generics variance fixes (#2051, #2064), #3960, thanks
@jiripudil
!- Add
deprecationRulesInstalled
configuration (#2062), thanks@villfa
!
- To be used in phpstan-deprecation-rules and phpstan-phpunit extensions soon!
- ArrayFilterRule should care about
treatPhpDocTypesAsCertain
(#2065), thanks@VincentLanglet
!- Discover phpunit-bridge automatically (https://github.com/phpstan/phpstan-src/commit/c760b1f7a45c512cd34c91d8e078046dfdc453ba)
- Performance optimizations:
- Cache descriptions in ObjectType and UnionType (https://github.com/phpstan/phpstan-src/commit/da8413c493cbb9d800228f996836207e9598920c), #8499, #8497
- Remove unnecessary file IO (#2069, #2094), thanks
@staabm
!- Reduce calls to
Scope::getType()
. Cheap checks first. (#2071), thanks@staabm
!- Cache resolved phpdoc in ClassReflection (#2072), thanks
@staabm
!- Don't re-calculate node-key over and over again (#2073), thanks
@staabm
!- Improve the CPU core count detection (#2047), thanks
@theofidry
!- Optimize path related utils on windows (#2068), thanks
@staabm
!- Don't re-calculate node-key over and over again - part 2 (#2074), #8503, thanks
@staabm
!- Faster ConstantStringType->toArrayKey() (#2081), thanks
@staabm
!- Faster ConstantFloatType->isSuperTypeOf(ConstantFloatType) (#2080), thanks
@staabm
!- TypeSpecifier micro-optimization (https://github.com/phpstan/phpstan-src/commit/30e6d19496adb16b6bfd9be1cd1bf767f6ce8713)
- Faster TrinaryLogic->lazyExtremeIdentity() (#2083), thanks
@staabm
!- Faster ConstantArrayType->isSuperTypeOf() (#2086), thanks
@staabm
!- Loops analysed in linear time instead of exponential time (#2088, #2091), #8503, #6265
- Remove unnecessary method call to already known value (#2092), thanks
@staabm
!Bugfixes
🐛
... (truncated)
Commits
-
709999b
PHPStan 1.9.3 -
68fd144
Fix -
49512bf
Fix -
ac93c2a
Updated PHPStan to commit b7441d66b0e3a3f810de21b780744799171f4ca1 -
dad4727
Updated PHPStan to commit c760b1f7a45c512cd34c91d8e078046dfdc453ba -
731ab71
phpunit-bridge regression test -
fa6da45
Updated PHPStan to commit 11a10393537137d06747b09f8d8ab128f93a52ed -
59433d5
Run Symplify tests -
c10b5fa
Updated PHPStan to commit 5fc2bfd3522909ca40af7e6bcbf9c95e11120683 -
b6ac56c
Updated PHPStan to commit cbf4b063988c23073c11da92f1c9c74c69539917 - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts