Skip to content

chore(deps-dev): update rector/rector requirement from 2.8.4 to 2.8.5 in the composer-dependencies group - #10784

Merged
michalsn merged 1 commit into
developfrom
dependabot/composer/composer-dependencies-ced85d2cff
Nov 18, 2026
Merged

michalsn merged 1 commit into
developfrom
dependabot/composer/composer-dependencies-ced85d2cff

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 18, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on rector/rector to permit the latest version.
Updates rector/rector to 2.8.5

Release notes

Sourced from rector/rector's releases.

Released Rector 2.8.5

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)

... (truncated)

Commits
  • bf2982e Rector 2.8.5
  • f1bb9a1 Updated Rector to commit 9f30de4a6caa13615f9e4d20bbe5282aac528575
  • 55f2cda Updated Rector to commit 9f30de4a6caa13615f9e4d20bbe5282aac528575
  • ed28610 Updated Rector to commit 9f30de4a6caa13615f9e4d20bbe5282aac528575
  • a6f5c21 Updated Rector to commit 8dd83d8721a47df944c207778189daf6e5711a8e
  • b5e9d1b Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079
  • 57c53a5 Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079
  • e47aa88 Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079
  • 68cbe74 Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079
  • 7ebfece Updated Rector to commit a1fbcf3b97457ef3b2fcad3d50ccb26379991079
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.

Updates `rector/rector` to 2.8.5
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.8.4...2.8.5)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.8.5
  dependency-type: direct:development
  dependency-group: composer-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update external dependencies php Pull requests that update php code labels Nov 18, 2026
@michalsn
michalsn merged commit 5ac1923 into develop Nov 18, 2026
58 checks passed
@michalsn
michalsn deleted the dependabot/composer/composer-dependencies-ced85d2cff branch November 18, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update external dependencies php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant