chore(deps): update all non-major dependencies (patch)
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| phpstan/phpstan | require-dev | patch |
1.10.3 -> 1.10.6
|
| phpunit/phpunit (source) | require-dev | patch |
9.6.4 -> 9.6.5
|
Release Notes
phpstan/phpstan
v1.10.6
Bleeding edge 🔪
- Report narrowing
PHPStan\Type\Typeinterface via@var(https://github.com/phpstan/phpstan-src/commit/713b98fb107213c28e3d8c8b4b43c5f5fc47c144), https://github.com/nunomaduro/larastan/issues/1567#issuecomment-1460445389 - Check invalid PHPDocs in previously unchecked statement types (https://github.com/phpstan/phpstan-src/commit/9780d352f3264aac09ac7954f691de1877db8e01)
- InvalidPHPStanDocTagRule in StubValidator (https://github.com/phpstan/phpstan-src/commit/9c2552b7e744926d1a74c1ba8fd32c64079eed61)
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 🔧
- InvalidPHPStanDocTagRule - add forgotten handling of ClassConst (https://github.com/phpstan/phpstan-src/commit/d943d58c219b457403dc536f855d9d6f32e2280f)
Bugfixes 🐛
- Fix false positive with
array_combine()on PHP 8+ (#2276), #9011, thanks @staabm! - Ignore Nop nodes in NodeScopeResolver when creating UnreachableStatementNode (#2279), #8966, thanks @herndlm!
- Fix wrong positives about templates in conditional types (#2241), #8609, #7310, #8408, thanks @KmeCnin!
v1.10.5
Improvements 🔧
- Check local type aliases above traits (https://github.com/phpstan/phpstan-src/commit/4654c1651f1ec9c1799774bffd2c641828d43d4a)
Bugfixes 🐛
- Fix type aliases in method-level template types (https://github.com/phpstan/phpstan-src/commit/c926144c2e1c1b25639857a3c1cb12bbe541162c), #9008
- Fix type aliases in traits (https://github.com/phpstan/phpstan-src/commit/60021c2857841155fcd54f3783d8ed86a647a684), #5091
- Fix interface accepting a Closure (https://github.com/phpstan/phpstan-src/commit/0dbe3ab24dd40d6e291413aa64db5eca9f0f6d68), #9006
- Process enum case expression (https://github.com/phpstan/phpstan-src/commit/f64b27cf833cbf84e21293f5891e69c970652698), #9005
- Fixed missing processing of UseUse and GroupUse (https://github.com/phpstan/phpstan-src/commit/b79751221e67794e62d7e7cfc89db5687c04c527)
v1.10.4
Improvements 🔧
- Remove 3 leading spaces in PHAR (#2254), #8952, thanks @ruudk!
- Add missing newline at the end of the file (#2254), thanks @ruudk!
- RuleError interfaces are part of BC promise (https://github.com/phpstan/phpstan-src/commit/aed93193ae90d353661e10b0eabcf0528422231f)
- Update nikic/php-parser (https://github.com/phpstan/phpstan-src/commit/dda95b4fa735585369cb74429ab5ea8d37f82179)
- Update BetterReflection (#2274), #8889
Bugfixes 🐛
- Fix bug with
array_column(#2244), #8917, thanks @VincentLanglet! - Improve
filter_var()handling of a couple of simple scalars and null (#2262), thanks @herndlm! - Fix
value-offor multiple enums (https://github.com/phpstan/phpstan-src/commit/3adc91d78b8108afc883dc5097656b6de0f38769), #8983 - Fix
->valueon unions of enums (https://github.com/phpstan/phpstan-src/commit/05b85bad07a2c6628799fcb4a2939be7beab80cd), #9000
Function signature fixes 🤖
- Fix return type of
Ds\Sequence::copy()(#1954), thanks @MidnightDesign! - Fix
password_hash()return type (#2260), #5978, thanks @VincentLanglet!
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.