Update dependency phpstan/phpstan to v1.10.56
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| phpstan/phpstan | require-dev | patch |
1.10.55 -> 1.10.56
|
Release Notes
phpstan/phpstan (phpstan/phpstan)
v1.10.56
Major new feature 🚀
- New PHPDoc tags:
@phpstan-require-extends,@phpstan-require-implements, #10302, #9899, #8550, thanks @staabm!- Learn more: Making
@propertyPHPDoc above interfaces work on PHP 8.2+ - Enforcing class inheritance for interfaces and traits
- Enforcing implementing an interface for traits
- Development of this feature was kindly sponsored by Pixel & Tonic, the team behind Craft CMS
- Learn more: Making
Improvements 🔧
- Scope - function call stack includes parameters too (https://github.com/phpstan/phpstan-src/commit/b87e5c4c7e33a91c61341f0335a221c32df603b2), https://github.com/phpstan/phpstan-deprecation-rules/issues/107
Bugfixes 🐛
- Process
matcharm condition before analysing the body (https://github.com/phpstan/phpstan-src/commit/2b74aa85b87e85bbc2398b96b1bff07234b1f791), #10418
Function signature fixes 🤖
- Fix transliterator function maps (#2862), thanks @PrinsFrank!
- Fix duplicate array key
Yaf_Response_Http::__clone(#2863), thanks @PrinsFrank! - Add array shape for
transliterator::listIDsreturn type (#2865), thanks @PrinsFrank! -
strtok()always returns anon-empty-stringwhen it does not return false (#2869), thanks @staabm!
Internals 🔍
- Prevent repetative calls to
Type::getConstantArrays()(#2864), thanks @staabm! - Remove redundant condition in ParametersAcceptorSelector (#2867), thanks @mad-briller!
- Simplify default return path in extensions (#2868), thanks @staabm!
- Reduce unnecessary calls to
Scope::getFunctionType()(#2872), thanks @staabm!
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.