Update PHPStan packages
This MR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
phpstan/phpstan |
1.10.34 -> 1.10.37
|
||||
phpstan/phpstan-symfony |
1.3.2 -> 1.3.4
|
Release Notes
phpstan/phpstan (phpstan/phpstan)
v1.10.37
🐛
Bugfixes - Support array shape covariance when the optional key is missing in the subtype (#2655), #9905, #5655, #7273, thanks @staabm!
- Fix conditional types (#2659), #9951, #9963, thanks @rvanvelzen!
- Handle exception thrown from callable object's
__invoke
method (#2502), #6233, thanks @VincentLanglet! - Update BetterReflection
- ReflectionSourceStubber - fix enum as default function parameter value (https://github.com/ondrejmirtes/BetterReflection/commit/135a394e2fba447a788ac3a36818e4cde8b87ac4), https://github.com/nunomaduro/larastan/issues/1749
v1.10.36
🔧
Improvements - DumpParametersCommand:
--json
option (https://github.com/phpstan/phpstan-src/commit/91a0002402123b96a08978ba400b5d76d5456693) - Implement
reportUncheckedExceptionDeadCatch
option (defaults totrue
) (#2648), #9921, thanks @VincentLanglet! - Support union types in
array_chunk()
(#2635), thanks @staabm! - Result cache: Indicate key differences in cache metadata (#2630), thanks @staabm!
- Get rid of annoying "on an unknown class ReflectionEnum" error on PHP < 8.0 (https://github.com/phpstan/phpstan-src/commit/2b9af363a3d2a9620c4b9bfb65e81813b69623d0)
🐛
Bugfixes - Fix resolving nested conditional types with union subjects (#2641), #9860, thanks @rvanvelzen!
- Detect array_rand second parameter (#2633), #9803, thanks @staabm!
- Fix subtracting types from union template types (#2652), #9939, thanks @rvanvelzen!
- fix infinite cycle due to incorrect implements/extends (#2483), thanks @schlndh!
- Fix ConstantFloatType value dump precision (#2358), thanks @mvorisek!
- Do not trigger PhpDocInheritanceResolver if we do not need the PHPDoc type when resolving the type of ClassConstFetch (#2414), #9039, thanks @VincentLanglet!
🤖
Function signature fixes -
connection_*
functions are impure (#2555), thanks @staabm! - Add stubs for
mysqli
andmysqli_result
classes (#2295), thanks @phansys!
🔍
Internals - E2E test about env variables in config parameters (https://github.com/phpstan/phpstan-src/commit/980ab5bba4de0246587647e8cf6b7abe95697379)
- Prevent unnecessary calls to
getFiniteTypes()
(#2636), thanks @staabm! - Remove unnecessary IO (#2613), thanks @staabm!
- Restrict "Merge maintained branch" workflow to the main repository (#2654), thanks @thg2k!
v1.10.35
🚀
Major new features - Generics: Type projections aka call-site variance (#2485), thanks @jiripudil!
🐛
Bugfixes - Make
value-of<...>
lazier (https://github.com/phpstan/phpstan-src/commit/234f77d652bf6326be4bf5c25c7aab67145aca71), #9881 - Update BetterReflection, #9877
- Fix
ReflectionAttribute::newInstance()
with nested class using named arguments (https://github.com/ondrejmirtes/BetterReflection/commit/8d751dd38f4d089715e748863d0d8e4113bc408c), thanks @enumag!
- Fix
- Improve typing of filters that do not accept non-falsy strings (#2620), thanks @zonuexe!
🔍
Internals - name-collision-detector 2.0 (https://github.com/phpstan/phpstan-src/commit/c3cb573c595bf5cc72471fd8d773aa3b0296b035)
- Remove
phpstan/phpstan-php-parser
(#2632), thanks @staabm!
phpstan/phpstan-symfony (phpstan/phpstan-symfony)
v1.3.4
- 3838559 - Set properties autowired with @required as initialized
v1.3.3
- abc7682 - Open 1.3.x-dev
- 7120655 - chore(deps): update actions/checkout action to v4
- b055cab - Add a more precise return type for ParameterBag::keys in stubs
- 3bc0b95 - feat: Sync Validor stubs with SF6.1
- 14e46f2 - Bump PHPStan dependencies
- 7e7b5bd - Modernize rules with RuleErrorBuilder
- 8f1dab2 - Next-gen coding standard workflow
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot