Skip to content

[TASK] Update rector/rector to v2.8.4 - autoclosed - #1087

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/patch-rector
Closed

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/patch-rector

Conversation

@renovate

@renovate renovate Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rector/rector (source) 2.8.3 → 2.8.4 age adoption passing confidence

Release Notes

rectorphp/rector (rector/rector)

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)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Monday through Friday (* * * * 1-5)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ 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.


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

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

@renovate renovate Bot added the dependencies Updates project dependencies label Nov 6, 2026
@renovate
renovate Bot enabled auto-merge (squash) November 6, 2026 20:38
@coveralls

coveralls commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Coverage Report for CI Build 42327479389

Coverage remained the same at 97.992%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 2589
Covered Lines: 2537
Line Coverage: 97.99%
Coverage Strength: 14.79 hits per line

💛 - Coveralls

| datasource | package       | from  | to    |
| ---------- | ------------- | ----- | ----- |
| packagist  | rector/rector | 2.8.3 | 2.8.4 |
@renovate
renovate Bot force-pushed the renovate/patch-rector branch from 0960a12 to 2bd5373 Compare November 7, 2026 02:05
@renovate renovate Bot changed the title [TASK] Update rector/rector to v2.8.4 [TASK] Update rector/rector to v2.8.4 - autoclosed Nov 9, 2026
@renovate renovate Bot closed this Nov 9, 2026
auto-merge was automatically disabled November 9, 2026 06:42

Pull request was closed

@renovate
renovate Bot deleted the renovate/patch-rector branch November 9, 2026 06:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updates project dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants