[Conductor] Update phpstan/phpstan to 2.1.23 #32
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically generated by Conductor.
The PR contains the changes generated by running the following command:
Changelog
phpstan/phpstan (Source: GitHub Releases))
2.1.23
Whopping 88 issues were solved in this release! @VincentLanglet and @staabm are the true GOATs here.
Bleeding edge 🔪
BcMath\Number(#3995), #13001, thanks @schlndh!booltype as too-wide when onlytrueorfalseis assigned (#4243), #13384, thanks @staabm!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: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 🔧
array{Foo::BAR: int}*ParameterClosureThisextensions (#4273), thanks @calebdw!checkTooWideParameterOutInProtectedAndPublicMethods(#4229), #12080, thanks @VincentLanglet!ReflectionProperty::setAccessible()(#4230), thanks @staabm!array~listasnon-empty-array(#4225), #9734, thanks @VincentLanglet!str_increment()instead (#4262), thanks @staabm!reportAlwaysTrueInLastConditionwith enums (#4286), thanks @vrana!TypeCombinator::unionWithSubtractedType(#4200), thanks @VincentLanglet!curl_getinfo()return types (#4279), thanks @FeBe95!ReflectionClass<covariant X>even on PHP 8.3- (phpstan/phpstan-src@9435151), #13452nullonly for native properties without native type (phpstan/phpstan-src@802fa6e), #11609??condition (phpstan/phpstan-src@9e24fa2), #12645new static()arguments when paired with@phpstan-consistent-constructor(phpstan/phpstan-src@4274cfb)Bugfixes 🐛
statictype in method@throws(#4128), #11900, thanks @VincentLanglet!Type::getProperty()before making sureType::hasProperty()is yes (phpstan/phpstan-src@3beb667), #13424FILTER_*constants redeclared with wrong type (#4199), #10483, #10661, thanks @VincentLanglet!vendor/hoa/protocol/Wrapper.phpin__composer_autoload_files(#4275), #13369@phpstan-assert(#4226), #9435, thanks @VincentLanglet!ConstantFloatType::toString(#4278), #12225, thanks @VincentLanglet!ArrayType::hasOffsetValueType()(#4288), #13455, thanks @staabm!array_columninference (#4201), #10367, thanks @VincentLanglet!non-empty-arraymight be empty afterarray_keys()with filter (#4295), #13377, thanks @staabm!??(phpstan/phpstan-src@a06db02), #11424, #10379staticreturn type resolution in closure (phpstan/phpstan-src@6b9644e, phpstan/phpstan-src@af3f105), #13298@phpstan-consistent-constructorno longer requires constructor to exist (phpstan/phpstan-src@b7e305f), #11316@phpstan-consistent-constructorbut constructor implementation is in a parent (phpstan/phpstan-src@be3c27a), #10722Function signature fixes 🤖
RedisCluster::scansignature (#4195), thanks @DKhalil!Exception::getTrace()return type (#4264), thanks @keradus!SimpleXMLElement::offsetSet(#4196), thanks @VincentLanglet!RedisCluster::multi()return type (#4283), #13392, thanks @sayuprc!xml_*_handlersignature (#4254), #9970, thanks @VincentLanglet!Internals 🔍
instanceof *Typechecks in TypeCombinator (#4244), thanks @canvural!shouldGeneralizeInferredTypemethod from template type classes (#4269), thanks @SplotyCode!PhpFunctionFromParserNodeReflection::isMethodOrPropertyHook()(phpstan/phpstan-src@2c53ed6), #13393$constructor instanceof PhpMethodReflection(phpstan/phpstan-src@85fd1a4)Task options
If you close the PR, the task will be skipped and Conductor will schedule the next task. Clicking the "Skip" button in the UI has the same effect. Conductor won't attempt to update the dependency to this exact version again but it will schedule updates to newer versions.
Powered by Private Packagist