Skip to content

chore(deps): update dependency rector/rector to ~2.8.5 (main) - #3326

Merged
github-actions[bot] merged 1 commit into
mainfrom
renovate/main-rector-rector-2.x
Nov 22, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
renovate/main-rector-rector-2.x

Conversation

@renovate

@renovate renovate Bot commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
rector/rector (source) ~2.7.0 → ~2.8.5 age confidence

Release Notes

rectorphp/rector (rector/rector)

v2.8.5: Released Rector 2.8.5

Compare Source

Bugfixes and safer reprints 🐛

This release is mostly about bugfixes - an infinite loop fix in docblock return types, kept ternary parentheses on null coalescing, more precise changed_files in JSON output, and several new skips for dead code and PHP 8.4 rules. On the extension side, PHPUnit AddDoesNotPerformAssertionToNonAssertingTestRector is now faster and more precise.


Bugfixes 🐛

  • [TypeDeclarationDocblocks] Skip invalid @return tag to fix infinite loop in DocblockReturnArrayFromDirectArrayInstanceRector (#​8918)
  • [ChangesReporting] List only changed files in JSON changed_files (#​8917) Thanks @​gvieira18
  • [Core] Drop file positions on reprinted nodes copied from another file (#​8928)
  • Preserve ternary fallback parentheses in new coalesces (#​8927) Thanks @​smotim
  • [Php70] Keep inner ternary parentheses on TernaryToNullCoalescingRector (#​8921)
  • [Php55] Handle variable interpolated in pattern on PregReplaceEModifierRector (#​8922)
  • [Php84] Skip variable modified in condition on ForeachToArrayAllRector, ForeachToArrayAnyRector, ForeachToArrayFindRector and ForeachToArrayFindKeyRector (#​8925)
  • [DeadCode] Skip conditional return type on RemoveUselessReturnTagRector (#​8924) Thanks @​APX403
  • [DeadCode] Skip private methods used as callables on RemoveUnusedPrivateMethodParameterRector (#​8923) Thanks @​phinor
  • [CodingStyle] Skip closure with rebound $this on ArrowFunctionDelegatingCallToFirstClassCallableRector and ClosureDelegatingCallToFirstClassCallableRector (#​8931)

Performance Improvements 🚀

  • Remove usage of CloningVisitor on AstResolver (#​8861)

Internals ⚙️

  • [Printer] Remove unneeded BetterStandardPrinter::pStmt_FileNode() (#​8904)
  • [CodingStyle] Cover Doctrine/Symfony aliased names on import names with real stubs (#​8932, #​8933)

rector-symfony 🎵

  • [Symfony61] Do not add #[AsCommand] without a name in CommandConfigureToAttributeRector (#​1102) Thanks @​kix
  • Skip first-class callable in CommandConfigureToAttributeRector (#​1104)

rector-phpunit 🟢

  • [PHPUnit90] Handle named and unpacked preg_match() args and skip non-literal expected value in AssertRegExpRector (#​820, #​819) Thanks @​alies-dev
  • [PHPUnit100] Add willReturnOnConsecutiveCalls() variables to closure use() in WithConsecutiveRector (#​821)
  • [PHPUnit120] Skip mocks configured through an alias in ExpressionCreateMockToCreateStubRector (#​823) Thanks @​bbrala
  • [PHPUnit60] Follow parent::test() calls in AddDoesNotPerformAssertionToNonAssertingTestRector (#​826) Thanks @​bbrala
  • [PHPUnit60] Count expectUserDeprecationMessage() as assert, skip test methods in abstract classes and skip tests in classes with own asserting lifecycle methods in AddDoesNotPerformAssertionToNonAssertingTestRector (#​825, #​828, #​831)
  • [PHPUnit60] Speed up AddDoesNotPerformAssertionToNonAssertingTestRector - change node to Class_, cache containsAssertCall() per node and never parse PHPUnit and Symfony base test case methods (#​830, #​829, #​833, #​824)

rector-downgrade-php ⬇️

  • Fix class constant spread from other class crash on DowngradeArraySpreadRector (#​423)

v2.8.4: Released Rector 2.8.4

Compare Source

PHP 8.6 set additions and faster runs 🚀

This release grows the PHP 8.6 set with deprecated function alias renames, moves ConsistentImplodeRector down to the php74 set, and ships another round of performance work across the runner, printer, and reflection refresh.


New Features ⭐

  • Add PHP 8.6 deprecated function alias renames to php86 set (#​8905)
  • Remove deprecated third arg of define() in php86 set (#​8906)
  • Move ConsistentImplodeRector from php80 to php74 (#​8894) Thanks @​zoliszabo

Bugfixes 🐛

  • Run post rectors after the rules reach a fixed point, so no rule sees an imported short name (#​8909) Thanks @​SanderMuller
  • AnnotationToAttributeRector: fold unknown named args into the attribute's $options (#​8914) Thanks @​kix
  • [Php74] Fix MbStrrposEncodingArgumentPositionRector treating mixed $offset as encoding (#​8913)
  • [DeadCode] Skip nested conditional assign in RemoveDefaultValueFromAssignedPropertyRector (#​8915)
  • [DeadCode] Skip with HTML on RemoveAlwaysTrueIfConditionRector (#​8896)
  • [Printer] Keep blank lines between statements when a node list is emptied (#​8886)

Performance Improvements 🚀

  • Reduce double traversal on promoted property lookup in AstResolver (#​8903)
  • Reuse File::containsHTML() on AddUseStatementGuard to cut a double traverse (#​8899)
  • Reuse collected use statements when resolving PHPDoc short names (#​8901)
  • Skip current file lookup when a rule makes no change in RectorRunner::run() (#​8891)
  • Optimize class reflection refresh with cheaper cache hashing and early class-name validation (#​8892)
  • Skip wrapBinaryOpWithBrackets() for CallLike nodes in BetterStandardPrinter::p() (#​8890)

Internals ⚙️

  • Convert Doctrine annotations from phpdoc-parser nodes, remove StaticDoctrineAnnotationParser (#​8881) Thanks @​ondrejmirtes
  • Use PHPStan Type::toNativePhpTypeNode() and Type::toPhpDocNode() instead of own type mappers (#​8885) Thanks @​ondrejmirtes
  • Remove phpdoc-parser workarounds fixed in phpdoc-parser 2.3.10 and 2.3.11 (#​8898) Thanks @​ondrejmirtes
  • Bump minimal phpstan and phpdoc-parser to latest patch versions (#​8916)
  • Make use of PHPStan InClassNode on PHPStanNodeScopeResolver (#​8902)
  • [Core] Remove unneeded origNode attribute get on RectorRunner (#​8893)
  • [Printer] Remove BetterStandardPrinter::pExpr_Ternary() method (#​8887)
  • [Printer] Remove @property for $insertionMap on BetterStandardPrinter (#​8888)

v2.8.3: Released Rector 2.8.3

Compare Source

Faster node traversal and updated PHPStan stack 🚀

This release brings performance improvements to node visitors, reducing unnecessary traversals and reflection resolution during analysis.

It also updates PHPStan to 2.3.4 and phpstan/phpdoc-parser to 2.4, with compatibility fixes for the updated PHPDoc type nodes.


Performance Improvements 🚀

  • Avoid nested traversals in ByRefNodeVisitor by tracking by-reference variable names per FunctionLike (#​8879) Thanks @​samsonasik
  • Only resolve call reflection for 2-item array arguments in CallLikeReflectionNodeVisitor (#​8880) Thanks @​samsonasik

Bugfixes 🐛

  • [TypeDeclaration] AddArrayFunctionClosureParamTypeRector: resolve array item types from unions of arrays (#​8877) Thanks @​SanderMuller
  • Lock the fixture directory itself to prevent conflicts between parallel test workers using different TMPDIR values (#​8878) Thanks @​SanderMuller

Internals ⚙️

  • Bump PHPStan to 2.3.4 and phpstan/phpdoc-parser to 2.4, adapting PHPDoc node handling for the new NameNode, FullyQualifiedNameNode, and RelativeNameNode types (#​8883) Thanks @​ondrejmirtes

v2.8.2: Released Rector 2.8.2

Compare Source

Leaner PHPDoc stack and a fluent composer-based config 🚀

This release leans on phpstan/phpdoc-parser directly: Rector drops its own forked parser, printer, token iterator and type-node subclasses, and reuses the upstream parser, format-preserving printer, node traverser and type nodes. Fewer moving parts, one source of truth for PHPDoc handling, and it rides the PHPStan 2.3.3 bump. Thanks @​ondrejmirtes.

On the config side, withComposerBased() now auto-detects installed packages when called with no argument, and a fluent withComposerBasedRule() builder lands across core and the rector-* sets.


New features 🥳

  • Add withComposerBasedRule() to the fluent RectorConfig::configure() builder (#​8875)
  • [Configuration] Auto-detect installed packages in withComposerBased() called with no argument (#​8748) Thanks @​MadBox-99
  • [TypeDeclaration] Prefer same-namespace classes over global PHPDoc types (#​8869) Thanks @​MohannadElemary
  • [dx] Report rule-scoped skips that matched a file but never changed it (#​8853)

Performance Improvements 🚀

  • Reduce memory usage on the LPT bucket by recycling workers and keeping files in discovery order (#​8867) Thanks @​samsonasik
  • Cache skip-filtered rules per node class for the current file in RectorRegistry::forNodeAndFile() (#​8860) Thanks @​samsonasik
  • Remove unneeded array_values() when arrays are already lists or called too early (#​8857) Thanks @​samsonasik

Bugfixes 🐛


Internals ⚙️


rector-doctrine 🟠

  • Collapse an intersection with a single type, like a union (#​541) Thanks @​ondrejmirtes
  • Use the fluent withComposerBasedRule() in the composer-based set (#​542)

rector-symfony 🎵

  • Support converting EventSubscriberInterface to AsEventListener attributes (#​1094)
  • Add RequestQueryToMapQueryParameterRector (#​1089) Thanks @​Rajekevin
  • [Symfony34] ContainerGetNameToTypeInTestsRector: skip when the FQCN service is not the named service (#​1093) Thanks @​jdreesen
  • Remove deprecated rules from the Rector withSkip (#​1096)
  • Use PhpVersion constants directly instead of the deprecated PhpVersionFeature (#​1095)
  • Use the new Class_ namespace for ChangeMethodVisibilityRector (#​1092)
  • Use the fluent withComposerBasedRule() in the composer-based sets (#​1098)

rector-phpunit 🟢

  • Use IntersectionTypeNode from phpstan/phpdoc-parser and update fixtures for the new printer (#​815, #​814) Thanks @​ondrejmirtes
  • Use the fluent withComposerBasedRule() in the composer-based set (#​816)

rector-downgrade-php ⬇️

  • Update fixtures for the phpstan/phpdoc-parser printer, printing intersections without redundant brackets (#​420) Thanks @​ondrejmirtes

v2.8.1: Released Rector 2.8.1

Compare Source

Fixes

  • Fix crash cache due to PHPStan Turbo (#​8850)

v2.8.0: Released Rector 2.8

Compare Source

Faster runs, single-pass rules, and a leaner rule set 🚀

The Rector core engine is ~26 % faster (1.36x) with ~8 % less memory than 2.7.0.

If you run PHP 8.3+, it's 3x faster using PHPStan Turbo, the native parsing extension shipped with phpstan/phpstan:

Rev Core engine (time / peak RSS)
2.7.0 32.0s / 351 MB
2.8.0 23.6s / 324 MB
2.8.0 + PHPStan Turbo (PHP 8.3+) ~10.0s / ~317 MB

Turbo factor measured on this release via an A/B run on Rector's own rules/ (24-core host, PHP 8.4, cold, identical changed-file fingerprint): ~2.4x wall and ~2.6x worker CPU. Turbo speeds up PHPStan parsing in the workers, so the wall-time gain scales with the available core count.


This release is mostly about speed and reliability. A large performance campaign hoists cheap node guards in front of expensive reflection, scope and type lookups across hundreds of rules, replaces per-node config scans in configurable rules with keyed lookups, and resolves short names and unused imports in a single AST walk.

Rules now converge in a single pass: instead of a re-processing guard, the engine iterates rules to a fixed point and tests enforce idempotency, so a rule that changes a file produces the same result whether it runs once or many times.

We also trimmed the rule set: many niche, context-dependent rules that are not part of any set and rarely used are now deprecated. Deprecated rules still run and print a warning; they will be removed in a future major release. The goal is a smaller set of valuable, reliable rules for everyday upgrades.


New features 🥳

  • [CodeQuality] Add ExplicitNullableObjectInstanceRector, replacing 4 nullable-object instanceof rules (#​8636)
  • [Console] Add --all option to list-rules to list every rule in core and rector-* packages (#​8637)
  • [Console] Undeprecate the list-rules command (#​8533)
  • Respect cgroup/CFS CPU quota when picking the parallel worker count (#​8559)
  • Bump to PHPStan 2.3

Performance Improvements 🚀

  • Run the parallel workers with PHPStan Turbo, the native parsing extension shipped with phpstan/phpstan, on PHP 8.3+ - no main-process restart, the workers do the analysis (#​8812) Thanks @​SanderMuller
  • Retarget class-level rules to a single Class_/ClassLike node and add getClassReflection() to AbstractRector: RemoveParentDelegatingClassMethodRector, ReturnTypeFromMockObjectRector, AddVoidReturnTypeWhereNoReturnRector and ChangeMethodVisibilityRector (#​8824, #​8827, #​8828, #​8830, #​8831)
  • Hoist the repeated fully qualified name build in UseImportNameMatcher::resolveName() and resolve the parent class reflection by name in Php4ConstructorRector (#​8841, #​8838)
  • Drop scope attachment on pre/post increment expressions and remove an unneeded array_values() in BetterStandardPrinter::pArray() (#​8814, #​8821)
  • Hoist cheap name and structural guards before reflection, scope and type lookups across CodeQuality, DeadCode, CodingStyle, TypeDeclaration, Transform, EarlyReturn and legacy Php rules (#​8664, #​8666, #​8667, #​8668, #​8669, #​8670, #​8671, #​8672, #​8661, #​8663)
  • Replace per-node config scans with keyed lookups in configurable rules - method, property, rename, transform, arguments and removing rules (#​8734, #​8735, #​8736, #​8739, #​8742, #​8743, #​8744, #​8745)
  • Iterate rules to a fixed point with a content-cycle guard instead of a per-node re-processing guard, and enforce single-pass idempotency in tests (#​8679, #​8719, #​8715, #​8722)
  • Skip rules whose work depends on a docblock when the node has none (#​8624, #​8625, #​8626, #​8627, #​8628, #​8629, #​8630, #​8631, #​8632)
  • Resolve short names and used names in a single AST walk, and cache resolved names per file version (#​8697, #​8700, #​8701, #​8702, #​8704)
  • Reuse the rebuilt ClassReflection by class content hash to stop memory growth on class refresh (#​8731, #​8728, #​8729)
  • Cache per-file import facts in ClassNameImportContext (#​8687)
  • Cache realpath() of skip patterns in FileInfoMatcher (#​8699) Thanks @​SanderMuller
  • Memoize StaticPHPUnitEnvironment::isPHPUnitRun and replace the isStringName wildcard loop with a single strpbrk scan (#​8732, #​8733)
  • Only process the catch statements PHPStan skipped and run the decorating visitors once (#​8738)
  • Avoid nested traversals in ContextNodeVisitor by tracking loop/try/attribute depth (#​8741)
  • Short-circuit NodeComparator::areNodesEqual before printing (#​8752)
  • Move skipping from enterNode() to FileProcessor so it runs once per file (#​8593)
  • Parallel LPT buckets for a more even worker load (#​8496) Thanks @​webard
  • Add a single-process hotspot profiler and A/B benchmark script with a performance methodology (#​8718, #​8536)
  • Speed up ConvertStaticToSelfRector, ArrayToFirstClassCallableRector and SimplifyEmptyCheckOnEmptyArrayRector with cheap guards before scope fetching (#​8801, #​8796, #​8795) Thanks @​alfredbez
  • Hoist loop-invariant resolve+continue guards above foreach (#​8761)
  • Stop attaching scope to class extends/implements names and drop the unused process property on the node scope (#​8788, #​8792)
  • Remove the infinite-loop guard from FileProcessor now that rules converge in a single pass (#​8811)

Bugfixes 🐛

  • NewlineBeforeNewAssignSetRector: fix a false positive on a local var and $this property name collision (#​8535)
  • SimplifyQuoteEscapeRector: handle strings with accented characters (#​8532)
  • TernaryToNullsafeCoalesceRector: skip mixed and untyped calls (#​8531) Thanks @​roxblnfk
  • TernaryToNullCoalescingRector: preserve fallback parentheses on the Identical/NotIdentical path (#​8674)
  • AddArrowFunctionReturnTypeRector: fix a crash on NonexistentParentClassType (#​8568)
  • Fix scope on an enum when combining DowngradeEnumToConstantListClassRector and RenameMethodRector (#​8727)
  • Fix class scope refresh losing method scope when the class node is already in a class (#​8725)
  • StrContainsRector / MbStrContainsRector: skip a non-zero strpos()/mb_strpos() offset (#​8640, #​8642) Thanks @​guillaume-sainthillier
  • SplitGroupedClassConstantsRector: preserve the attribute and type (#​8650)
  • RemoveUselessUnionReturnDocblockRector: skip a static/$this union @return (#​8649)
  • StrictArrayParamDimFetchRector: skip a private method param called with an ArrayAccess arg (#​8648)
  • ReadOnlyAnonymousClassRector: skip an anonymous class with attributes (#​8665)
  • NullToStrictStringFuncCallArgRector: skip an arg already cast to the target type (#​8688)
  • AddNameToBooleanArgumentRector: skip session_set_save_handler (#​8750)
  • RemoveDuplicatedCaseInSwitchRector: compare switch case statements node-by-node (#​8754)
  • MergePhpstanDocTagIntoNativeRector: keep the native @param/@var/@return description (#​8781)
  • Record in-place node mutations as changes, so a rule that mutates a node and returns null is still reported, across rector-doctrine, rector-symfony, rector-phpunit and rector-downgrade-php (doctrine #​539, symfony #​1087, phpunit #​810, downgrade #​418)
  • fix(parallel): report the error limit only when it is actually reached (#​8844) Thanks @​alfredbez
  • Lazy-load rule class aliases to fix the PHP 7.4 scoped-build lint (#​8845)
  • Fix Windows CI error on ChangedFilesDetectorPortableCacheTest (#​8537)

Deprecations 💀

Deprecated rules still run and print a warning; they will be removed in a future major release. These are niche, context-dependent or rarely used rules outside the main PHP upgrade path.

Transform / Arguments

  • FuncCallToNewRector (#​8776), FuncCallToStaticCallRector (#​8775), MethodCallToFuncCallRector (#​8769), MethodCallToStaticCallRector (#​8770), NewToStaticCallRector (#​8768), StaticCallToMethodCallRector (#​8759), ConstFetchToClassConstFetchRector (#​8771), MergeInterfacesRector (#​8772), ArrayDimFetchToMethodCallRector (#​8762), StringToClassConstantRector (#​8779), RemoveMethodCallParamRector (#​8766)
  • ReplaceArgumentDefaultValueRector and FunctionArgumentDefaultValueReplacerRector in favor of dedicated rules (#​8686, #​8692)

Renaming

Naming (and the SetList::NAMING set itself)

  • RenameParamToMatchTypeRector (#​8553), RenamePropertyToMatchTypeRector (#​8547), RenameVariableToMatchNewTypeRector (#​8554), RenameVariableToMatchMethodCallReturnTypeRector (#​8549), RenameForeachValueVariableToMatchExprVariableRector (#​8548), RenameForeachValueVariableToMatchMethodCallReturnTypeRector (#​8550), and the naming prepared set warning (#​8555)

TypeDeclaration

  • ParamTypeByMethodCallTypeRector and its Object/Scalar/Array splits (#​8567), ParamTypeByParentCallTypeRector (#​8813), AddPropertyTypeDeclarationRector (#​8774), AddParamStringTypeFromSprintfUseRector (#​8723), DeclareStrictTypesRector in favor of SafeDeclareStrictTypesRector (#​8562), BinaryOpNullableToInstanceofRector folded into ExplicitNullableObjectInstanceRector (#​8817)

CodeQuality / CodingStyle / DeadCode / EarlyReturn / Php

  • CompleteDynamicPropertiesRector (#​8753), SwitchTrueToMatchRector (#​8622), InnerFunctionToPrivateMethodRector (#​8621), MoveInnerFunctionToTopLevelRector (#​8616), ForRepeatedCountToOwnVariableRector (#​8620), CallUserFuncWithArrowFunctionToInlineRector (#​8615), RemoveUselessIsObjectCheckRector (#​8614), SimplifyStrposLowerRector (#​8611), SetTypeToCastRector (#​8610), ForeachItemsAssignToEmptyArrayToAssignRector (#​8577), PostIncDecToPreIncDecRector (#​8583), TernaryFalseExpressionToIfRector (#​8683), RemoveDeadReturnRector in favor of RemoveAlwaysTrueIfConditionRector (#​8685), RemoveDuplicatedReturnSelfDocblockRector (#​8634), RemoveParentDelegatingConstructorRector (#​8755), ChangeConstantVisibilityRector (#​8767), AddOverrideAttributeToOverriddenMethodsRector (#​8773), RemoveTraitUseRector (#​8778), ReturnEarlyIfVariableRector (#​8818)

Internals ⚙️

  • Replace tomasvotruba/unused-public with shipmonk/dead-code-detector (#​8530)
  • Decouple Rector rules from the PhpParser NodeVisitor and move enterNode() out of AbstractRector into RectorRunner (#​8541, #​8560)
  • Add a standalone RectorRegistry and merge the skipper services into a single Skipper (#​8600, #​8601, #​8604)
  • Inline the deprecated symplify/rule-doc-generator-contracts under the Rector\RuleDoc namespace (#​8586)
  • Add a PHPStan rule to flag Rector rules not registered in any set (#​8760)
  • Remove dead and deprecated public API: @api annotations, unused collectors, converters and interfaces, the created_by_rule attribute and RectifiedAnalyzer, and the deprecated withPhp53Sets()..withPhp74Sets() and cache-meta methods (#​8794, #​8803, #​8804, #​8805, #​8806, #​8807, #​8808, #​8809, #​8810, #​8798, #​8799)
  • Register MergePhpstanDocTagIntoNativeRector in the type-declaration docblock level (#​8763)
  • Move VariableNaming to rector-downgrade-php (#​8797, downgrade #​417)
  • Deprecate PhpVersionFeature and use PhpVersion constants directly in rules (#​8839)
  • Remove the deprecated custom-rule and setup-ci commands, and the unused doctrine/inflector dependency (#​8815, #​8816)
  • Add a NoGetClassReflectionOnScopeRule PHPStan rule and route class reflection through a safer fetchClassLikeReflection(), used in ReadonlyClassManipulator and ObjectTypeSpecifier (#​8820, #​8829, #​8832, #​8835, #​8840)
  • Remove NullToStrictStringIntConverter, use an explicit null type in the null-to-strict rules (#​8837)
  • Lock the fixture directory while a test uses its temp file (#​8822) Thanks @​SanderMuller

rector-doctrine 🟠

  • Deprecate AddArrayResultColumnNamesRector (#​533)
  • Retarget RemoveNullFromNullableCollectionTypeRector to a single Class_ node and make it idempotent (#​535, #​534)
  • Cap removed-API rules at an upper version bound (#​532)
  • Check the method name before type inference in DBAL/ORM method call rules (#​536, #​537)

rector-symfony 🎵

  • [Symfony 8.2] Add rules for Schedule::with() to add() and Doctrine middleware renames (#​1082)
  • [Symfony 8.0] Merge the eraseCredentials body into an existing __serialize() instead of a dead serialize() (#​1085)
  • Reimplement ReplaceArgumentDefaultValueRector usages as dedicated rules (#​1079)
  • Make LogoutHandlerToLogoutEventSubscriberRector idempotent (#​1080)
  • Cap legacy removed-API rules and StringToArrayArgumentProcessRector at upper version bounds (#​1076, #​1075)
  • Move the nullable ServiceMap out of the ServiceMapProvider constructor (#​1073)
  • Check the method name before type inference in Intl and WebLink rules, and bail before reflection when a node has no attributes (#​1083, #​1084)
  • Deprecate the JMS AccessType/Accessor annotation-to-attribute rules and drop the orphaned enum (#​1086, #​1088)

rector-phpunit 🟢

  • [PHPUnit 7.0] Add ScenarioToTestAnnotationRector to replace the scenario annotation with test (#​809)
  • Match the rename map case-insensitively in IdentifierManipulator (#​808)
  • WillReturnCallbackFallbackToReturnFalseRector: skip never-returning fall-through and a trailing comment after return (#​801, [

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • "every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate
renovate Bot requested review from blizzz and enjeck as code owners November 22, 2026 02:57
@renovate renovate Bot added 3. to review Waiting for reviews dependencies Pull requests that update a dependency file labels Nov 22, 2026
@github-actions
github-actions Bot enabled auto-merge November 22, 2026 02:58
@github-actions
github-actions Bot merged commit c6993a5 into main Nov 22, 2026
80 of 82 checks passed
@github-actions
github-actions Bot deleted the renovate/main-rector-rector-2.x branch November 22, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants