[Conductor] Update dev - #111
Merged
Merged
Conversation
Conductor executed the following commands: composer update friendsofphp/php-cs-fixer:v3.95.18 phpstan/phpstan:2.2.7 rector/rector:2.5.9 --with-all-dependencies --minimal-changes
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
friendsofphp/php-cs-fixer (Source: GitHub Releases))
v3.95.18
What's Changed
simplified_if_returnby @live627 in #9747New Contributors
Full Changelog: v3.95.17...v3.95.18
v3.95.17
What's Changed
Token::equals()- Avoid building intermediary arrays by @live627 in #9739Tokens::findSequence()- improve looping logic by @live627 in #9737Full Changelog: v3.95.16...v3.95.17
phpstan/phpstan (Source: GitHub Releases)
2.2.7
Bugfixes 🐛
Variablewhen narrowing the base of?->,??,isset()andempty()(#6109), #15002, thanks @staabm and @VincentLanglet!NativeParameterReflectionwhen a closure is passed to a union of callables (#6128), #15003, thanks @staabm and @VincentLanglet!__DIR__and__FILE__against the trait file in a trait context (#6126), #15015, thanks @zonuexe!Performance 🏎️
Internals 🔍
bench/datafiles with RequiredPhpVersionCommentTest (#6122), thanks @staabm!SpecifiedTypes::normalize()with symbolic alternative-form entries (#6133)2.2.6
This release fixes 33 issues! 🎉
Major new features 🚀
phpstan/phpstanget it automatically. Composer package ships prebuilt binaries for the most common platforms — Linux (glibc and musl, x86_64 and arm64), macOS, and Windows (x86_64)phpstan.pharcan install the extension withpie install phpstan/turbovendor/bin/phpstan diagnoseor runninganalyse -vvvBleeding edge 🔪
?? null/??= nullon an always-set left side as an unnecessary null coalesce (#5865), #4337, #12179, #9966, thanks @VincentLanglet and @staabm!DOMDocumentload/save/validate string arguments asnon-empty-stringon PHP 8 (#6075), #14979, thanks @VincentLanglet and @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 🔧
@pure-unless-callable-is-impure(#3482), #11101, #11100, thanks @zonuexe!$flagsconstants forpreg_replace_callback()andpreg_replace_callback_array()(#6019), #11437, #14910, thanks @staabm and @VincentLanglet!Bugfixes 🐛
??to non-null when the coalesce context still permits a falsey value (#6000), #13488, thanks @VincentLanglet and @staabm!UnaryOperatorTypeSpecifyingExtensionforBcMath\Numberso unary+/-inferBcMath\Number(#5994), #13965, thanks @VincentLanglet and @staabm!explode()result for limit 0, 1, and -1 (#5993), thanks @paulbalandan!decimal-int-stringarguments for%dprintf placeholders in strict mode (#5997), #13609, thanks @VincentLanglet and @staabm!$prop[] = ...to its readable type instead of its writable type (#5996), #14054, thanks @VincentLanglet and @staabm!function_exists()/class_exists()narrowings when global state may change (#5998), #13608, #12094, thanks @VincentLanglet and @staabm!include/require/eval(#6056), #14962, thanks @staabm and @VincentLanglet!$$name) (#6058), #13960, thanks @staabm and @VincentLanglet!@param-closure-thisbound class (#6061), #11010, thanks @calebdw!MissingMethodImplementationRule(#6059), #14964, thanks @VincentLanglet!ob_get_*() === falsewill always evaluate to false" false positive (#6097), #14985, thanks @staabm!Performance 🏎️
ExprHandlerdispatch inMutatingScope::resolveType()(#6040), thanks @staabm!NodeFinderwith direct recursion inshouldInvalidateExpression()(#6041), thanks @staabm!ClassReflection::getMethod()cache (#6043), thanks @staabm!collectInterfaces()(#6092), thanks @staabm!getBooleanExpressionDepth()(#6091), thanks @staabm!filterByTruthyValue()work inNodeScopeResolver(#6103), thanks @staabm!BooleanOrHandler(#6106), thanks @staabm!AccessoryArrayListType(#6107), thanks @staabm!Function signature fixes 🤖
localeconv()and shape-basedlocaltime()return type extension (#6031), #14949, thanks @staabm and @VincentLanglet!Internals 🔍
@pure-unless-callable-is-impure(#6022), thanks @zonuexe!#[ExtensionInterface]attribute, derive the interface-tag mapping from it (#6096)ExtensionsCollection,#[AutowiredExtensions]andContainer::getExtensionsCollection(), replace extension providers (#6098)#[InstanceofDeprecated]attribute, derive ApiInstanceofTypeRule map from it (#6096)#[AutowiredParameter]references into deferred getParameter() lookups (#6102)#[ContainerExtension]attribute (#6102)rector/rector (Source: GitHub Releases))
2.5.9
Bugfixes 🐛
Class_-only rules (#8217)AstResolverusage onAddParamBasedOnParentClassMethodRector(#8196)RichParsernode visitors via DI factory instead of private property hack (#8215)ClassPropertyAssignToConstructorPromotionRector(#8232)__construct()in anonymous class that extends parent onRemoveEmptyClassMethodRector(#8219)RemoveDeadZeroAndOneOperationRector(#8213)RemoveDefaultValueFromAssignedPropertyRector(#8214)RemoveDefaultValueFromAssignedPropertyRector(#8212)RemoveDefaultValueFromAssignedPropertyRector(#8211)RemoveDefaultValueFromAssignedPropertyRector(#8209)Set changes 🗑️
NullToStrictStringFuncCallArgRectorout of the PHP 8.1 set (#8234)The rule and all its fixtures stay, so it can still be opted into:
->withRules([NullToStrictStringFuncCallArgRector::class])Deprecations 💀
TypeDeclarationDocblocks: 3 data provider docblock rules (#8235)Data provider docblock typing is not relevant to code quality — it increases maintenance cost and decreases readability of the test class.
Deprecated rules:
AddReturnArrayDocblockFromDataProviderParamRectorAddReturnDocblockDataProviderRectorAddParamArrayDocblockFromDataProviderRectorrectorphp/rector-symfony 🎵
push()to its ownRequestStackvariable inPushRequestToRequestStackConstructorRector(#971)isGranted()service calls in controllers inAuthorizationCheckerIsGrantedExtractorRector(#973)Cookiefixture afterNewToStaticCallRectorconfig removal (#974)rector/type-perfect, its rules ship intomasvotruba/type-coverage2.3 now (#972)symfony/configto^8.1(#977)Deprecated:
SimplifyFormRenderingRector(#975)The rule removed the explicit
->createView()call when a form was passed torender():Symfony supports passing the
FormInterfacedirectly, but the shorthand is ambiguous and breaks dynamic forms: forms modified inPRE_SET_DATA/POST_SUBMITlisteners and submitted over AJAX end up with a 422 response and no clear error. Keeping the explicit->createView()call is the reliable form. See symfony/symfony#50542.rectorphp/rector-phpunit 🧪
expectExceptionMessage()rename toTestCase(#735)rectorphp/rector-downgrade-php ⬇️
MHASH_*constants by name inDowngradeHashAlgorithmXxHashRectorto fix PHP 8.5 deprecation (#386)2.5.8
New Features 🥳
Bugfixes 🐛
Removed 💀
rectorphp/rector-symfony 🎵
rectorphp/rector-doctrine 🟠
rectorphp/rector-phpunit 🟢
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