Update PHPStan packages
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
phpstan/phpstan | require-dev | patch |
1.10.62 -> 1.10.65
|
phpstan/phpstan-symfony | require-dev | patch |
1.3.8 -> 1.3.9
|
Release Notes
phpstan/phpstan (phpstan/phpstan)
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
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.