[Conductor] Update dev#107
Merged
Merged
Conversation
Conductor executed the following commands: composer update friendsofphp/php-cs-fixer:v3.95.12 phpstan/phpstan:2.2.5 phpstan/phpstan-phpunit:2.0.18 phpunit/phpunit:10.5.64 rector/rector:2.5.4 --with-all-dependencies --minimal-changes
Contributor
Author
composer.lockDev Package changes
Settings · Docs · Powered by Private Packagist |
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.12
What's Changed
RuleSetDocumentationGeneratorby @kubawerlos in #9705BinaryOperatorSpacesFixer- do not align nested array in yield with following yields by @kubawerlos in #9708Full Changelog: v3.95.11...v3.95.12
phpstan/phpstan (Source: GitHub Releases)
2.2.5
Improvements 🔧
explode()when the delimiter is a known substring (#5959), #14651, thanks @paulbalandan!Bugfixes 🐛
preg_replace_callbackcallback array type forPREG_UNMATCHED_AS_NULL(#5987), #14904, thanks @staabm!Performance 🏎️
isSuperTypeOf()results increateConditionalExpressions()instead of recomputing them per target (#6001), #14920ConstantArrayTypesealed-shapeisSuperTypeOf()reasons lazily viaIsSuperTypeOfResultclosures (#6003), #14918ExprHandlerlookup byExprclass inspecifyTypesInCondition()andprocessExprNode()(#5999), #14919Function signature fixes 🤖
partitionedcookie attribute tosession_get_cookie_params()and the cookie option shapes (#6004), #14922, thanks @VincentLanglet and @staabm!Internals 🔍
2.2.4
PHPStan addresses the RAMpocalypse! It now consumes a lot less memory. See for yourself by running
analyse -v.E.g. running PHPStan on itself went from 2.8 GB to 2.1 GB total consumed memory across worker processes.
Bugfixes 🐛
ob_get_level()after impure calls that may open or close output buffers (#5964), #14895, thanks @staabm and @VincentLanglet!Performance 🏎️
Internals 🔍
phpstan/phpstan-phpunit (Source: GitHub Releases))
2.0.18
#[RequiresPhpunit]version requirement being evaluated against PHP version (#313)phpunit/phpunit (Source: GitHub Releases))
10.5.64
Changed
Learn how to install or update PHPUnit 10.5 in the documentation.
Keep up to date with PHPUnit:
rector/rector (Source: GitHub Releases))
2.5.4
New Features 🥳
Bugfixes 🐛
2.5.3
New Features 🥳
withTypeGuardedClasses()Are you an open-source project or package used by others? Do you want to make type changes, but keep BC?
Guard the listed classes and their non-final descendants against method signature changes - e.g. adding a return type or a param type — that would break child classes (#8135)
New Rules 🎉
NegatedAndsToPositiveOrsRector(CodeQuality) — simplify a negated "and" to "or" via de Morgan (#8082)
ExplicitAttributeNamedArgsRector(CodeQuality) — positional attribute args → named args (#8079), Thanks @DaveLiddament!
SwitchTrueToMatchRector(CodeQuality) —
switch (true)of returning cases →match (true), replaces deprecatedSwitchTrueToIfRector(#8113)RemoveDuplicatedReturnSelfDocblockRector(DeadCode) — drop
@returnduplicating native self/static (#8087)final class SomeClass { - /** - * @return $this - */ public function some(): self { return $this; } }RemoveMixedDocblockOverruledByNativeTypeRector(DeadCode) — drop
@param mixed/@return mixedoverruled by native type (#8089)RemoveUselessUnionReturnDocblockRector(DeadCode) — drop
@returnunion broader than a specific native type (#8126)ClosureReturnTypeFromAssertInstanceOfRector(TypeDeclaration) — add closure return type narrowed by
assertInstanceOf()(#8115)--only/--only-suffixruns now cache under a rule-scoped key (#8075), Thanks @SanderMuller!ParamTypeByMethodCallTypeRectorsplit into Object / Scalar / Array rules (#8134)Deprecations & Removals 💀
Migrate away - these will be removed in a future release:
SwitchTrueToIfRector→ use newSwitchTrueToMatchRector(#8109)StrictStringParamConcatRector— too many false positives (#8090)StaticClosureRector+StaticArrowFunctionRector(#8092)StaticCallOnNonStaticToInstanceCallRector— risky change (#8093)EnumCaseToPascalCaseRector— risky change (#8095)JoinStringConcatRector(#8107)RemoveTypedPropertyNonMockDocblockRector— no real value (#8119)rectorphp/rector-symfony
ParameterBagToAutowireAttributeRector(#954)AddRouteAnnotationRector(#952)rectorphp/rector-phpunit
BehatPHPUnitAssertToWebmozartRector— too narrow (#686)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