chore(deps): Update dependency rector/rector to v2.6.4 - #667
Merged
Conversation
|
ericsizemore
approved these changes
Aug 27, 2026
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 contains the following updates:
2.6.3→2.6.4Release Notes
rectorphp/rector (rector/rector)
v2.6.4: Released Rector 2.6.4Compare Source
A tooling release under the hood: Rector's dependency-injection container moves off
illuminate/containerontoentropy/entropy, and composer-based sets now target the lowest declared version of a library instead of guessing the current one.New rules 🎉
rector-src
IfToNullCoalescingAssignRector— convert anifnull-guard into??=(#8356)ArrayKeysToArrayKeyFirstLastRector—array_keys($a)[0]→array_key_first($a)(#8238)rector-symfony
WebLinkStringRelationsToConstantsRector(#1058)Engine 🔧
illuminate/containertoentropy/entropy(#8362) — lighter container, order-independent service collections viaautodiscover()projectpackage type is treated as an application (#8359, #8363)PhpVersionFactoryas a public service so third-party rules can autowire it (#8365)Bugfixes 🐛
rector-src
ClassMethodArrayDocblockParamFromLocalCallsRectoron methods overriding a parent/interface (#8357)@param arraywhen the local call type conflicts with the default value (#8381)oussuffix inRenameForeachValueVariableToMatchExprVariableRector(#8382)rector-symfony
CommandConfigureToAttributeRectoron non-constantconfigure()values (#1057)ContainerGetNameToTypeInTestsRectorwhen the named service has no matching FQCN service (#1051)OptionNameRectorwhen no option name changes (#1044)rector-phpunit
AddInstanceofAssertForNullableArgumentRectorduplicatingassertInstanceOfinside traits (#773)MatchAssertSameExpectedTypeRectorrewriting a passing assert into a failing one (#771)Set changes 📈
rector-src
FlipNegatedTernaryInstanceofRectorto the code quality level (#8385)rector-symfony
RequestIsMainRectorand other version-bonded rules to the composer-based set (#1048, #1045)GetFiltersAndFunctionsToAsTwigAttributeRector— support arrow-call functions; gate onsymfony/twig-bridge7.3, not twig alone (#1043, #1050)ANNOTATIONS_TO_ATTRIBUTESas@internalinstead of@deprecated(#1053)rector-doctrine
AddAnnotationToRepositoryRectorto the composer-based set only (#510)Deprecations 💀
Deprecated rules run without any effect, print a warning and will be removed in a future major release.
rector-symfony
InlineClassRoutePrefixRector(#1049)AddTraitGetterReturnTypeBasedOnSetterRequiredRector(#1047)LiteralGetToRequestClassConstantRector(#1046)Removals 💀
rector-src
CallLikeThisBoundClosureArgsNodeVisitorand its unread attribute (#8373)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.