Update PHPStan packages
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.10.60 -> 1.10.66
|
phpstan/phpstan-symfony | require-dev | patch |
1.3.8 -> 1.3.9
|
Release Notes
phpstan/phpstan (phpstan/phpstan)
v1.10.66
🔧
Improvements - Detect mismatch between readonly/non-readonly class parent (https://github.com/phpstan/phpstan-src/commit/986cbdfb2fd0c3de71b31ac3f212bd499d2131e1), #10789
- TypeInferenceTestCase - fix for performance problem with PHPUnit 11 (https://github.com/phpstan/phpstan-src/commit/da87a6541f97b01e35d309524f05c0d3d0bc0a00), #10757
🐛
Bugfixes -
array_push
preserves list (https://github.com/phpstan/phpstan-src/commit/5473b6701c1a9dd3ca1eb676b3b2c0dec43f2535)
🤖
Function signature fixes - Fix
redis::get
signature (#2990), thanks @VincentLanglet!
🔍
Internals
v1.10.65
🔧
Improvements
🐛
Bugfixes - Update BetterReflection (#2988)
- Fix ReflectionSourceStubber compatibility before PHP 8.1 (https://github.com/ondrejmirtes/BetterReflection/commit/94ca1336c58332604a74012d20286a240db376ea), https://github.com/larastan/larastan/pull/1882
- Fix trait method visibility (https://github.com/ondrejmirtes/BetterReflection/commit/d6153d513eb9111f01740394c61ff72142030089?w=1)
🤖
Function signature fixes
🔍
Internals - Add more tests for issue #10622 (#2961), thanks @mvorisek!
- Remove unnecessary method calls in ClassReflection (#2984), thanks @staabm!
- Use
TrinaryLogic::describe()
in test (https://github.com/phpstan/phpstan-src/commit/222a66cdbf67f2ae367b251ed56acda53a3d8286)
v1.10.64
🔪
Bleeding edge - Fail build when project config uses custom extensions outside of analysed paths
- This will only occur after a run that uses already present and valid result cache
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 - Introduce
ForbiddenClassNameExtension
for append additional forbidden class prefixes (#2979), thanks @kamil-zacek! - Add
AlwaysUsedMethodExtension
(#2927), thanks @axlon! - Warn about possibly stale result cache with custom extensions (https://github.com/phpstan/phpstan-src/commit/9338fdfe1611f742c65c61e5035315e1d64c4972)
- This is how it looks: https://twitter.com/OndrejMirtes/status/1770024563113390437
🐛
Bugfixes
🤖
Function signature fixes - Fix
DOMDocument::load
return type (#2975), thanks @VincentLanglet! - Fix
SplObjectStorage::removeAll/Except
(#2892), thanks @schlndh!
v1.10.63
🔧
Improvements - Resolve PHPStan issue with deprecated parameter order in PHP 8.1 and 8.3 (#2963), thanks @sayuprc!
- Update nikic/php-parser (https://github.com/phpstan/phpstan-src/commit/7ceeb2195031ca71e71f9f70b2570c8a73201048, https://github.com/phpstan/phpstan-src/commit/063f6a866c52cd054d37c5decbbbbc2743ae5f55)
- Solve duplicates in UnionType description (#2973), thanks @VincentLanglet!
🐛
Bugfixes - Revert "Update nette/di" (https://github.com/phpstan/phpstan-src/commit/969ff31ab29cd424aab2b2e32344a1825093bdea), #10727
- Fix password_hash algo constant passing on PHP <7.4 (https://github.com/phpstan/phpstan-src/commit/fc4e5891f786d0db1f509a11516eca58adb1eb67), #9246
- ArrayType - use
getIterableKeyType()
, it preserves array-key (https://github.com/phpstan/phpstan-src/commit/d5bf23b18f0c7484771c0298a6cd5359345eab94), #9307
🤖
Function signature fixes - Add false return type to
exec()
(#2974), thanks @VincentLanglet!
🔍
Internals - Cleanup
AnalyserIntegrationTest->runAnalyse()
(#2960), thanks @staabm! -
ReflectionProvider::hasClass()
narrows$className
arg (#2976), thanks @staabm!
v1.10.62
🔧
Improvements - Too wide return type - report for conditional return types (https://github.com/phpstan/phpstan-src/commit/de1c07ea68c36854b46c43ee575145ad4ae2386a)
🐛
Bugfixes - Constants deprecation depends on PHP version in comment (#2967), #10700, thanks @staabm!
- Make
@param-out
work even if it is the only conditional type in a function signature (https://github.com/phpstan/phpstan-src/commit/787c1e2b46a40ccac9bb254fd45204a310f6ff2f) - ParameterOutAssignedTypeRule - fix for conditional types (https://github.com/phpstan/phpstan-src/commit/19497ba0317be7e37f2c969118c93ce3be1e6fd2)
- ParameterOutExecutionEndTypeRule - fix for conditional types (https://github.com/phpstan/phpstan-src/commit/27c73f7f67ba74688d4ed0b3b0f5c0c3a9c60012)
- Too wide
@param-out
- fix for conditional types (https://github.com/phpstan/phpstan-src/commit/5a4789339e5768628bf9bb2abdf38eff135553cd)
v1.10.61
🔧
Improvements - Update BetterReflection to 6.25.0
- Implement PHP Version dependent deprecations for constants (https://github.com/Roave/BetterReflection/pull/1396), thanks @staabm!
- Support for
final
modifier in traits (https://github.com/Roave/BetterReflection/pull/1383), thanks @kukulich!
- Support for conditional types in
@param-out
(https://github.com/phpstan/phpstan-src/commit/effad95da555c2b6c7b305178a221e84c831df61), #10699 - Check conditional types in
@param-out
(https://github.com/phpstan/phpstan-src/commit/67f9420cba9fa45501cdca87770d50c5c22bd508)
🐛
Bugfixes - Too wide
@param-out
type - consider all execution ends at once (https://github.com/phpstan/phpstan-src/commit/d1bcf786eedbce9fee74f43f080678fa7788e4e3), #10687, #10684
🔍
Internals - MethodReturnStatementsNode - use ExtendedMethodReflection (https://github.com/phpstan/phpstan-src/commit/3cc1a545641b172b2cb1e89030cde9baa6b0c527)
phpstan/phpstan-symfony (phpstan/phpstan-symfony)
v1.3.9
-
a32bc86 - Add
@param-out
for PropertyAccessor
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.