Skip to content

chore(deps): bump rector/rector from 2.7.0 to 2.8.4 - #786

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/rector/rector-2.8.3
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/rector/rector-2.8.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Bumps rector/rector from 2.7.0 to 2.8.4.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.8.4

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)

Released Rector 2.8.3

Faster node traversal and updated PHPStan stack 🚀

... (truncated)

Commits
  • 55acbd9 Rector 2.8.4
  • 5c86032 Updated Rector to commit 0ddd8e3c8de9c32e9c12396a7f50234bdba559d0
  • 1569d5a Updated Rector to commit 16b46328085ef61f5be0cb939321a1467769109f
  • 992becb Updated Rector to commit 91aa876773825721a9951373292663680a0ff527
  • 43e91f8 Updated Rector to commit 91aa876773825721a9951373292663680a0ff527
  • 445df11 Updated Rector to commit 952de48ad367ae4c515e927d85ec6697449be507
  • ddab345 Updated Rector to commit 95eaf6fcafac7959453a4cda8c056e8e804852dc
  • e1828e7 Updated Rector to commit 95eaf6fcafac7959453a4cda8c056e8e804852dc
  • 0a64a1c Updated Rector to commit 2a02e373f0bdc57d071344821b345e408e4337eb
  • 354949d Updated Rector to commit 01a316df023abb601788898c587c5cdb84a17687
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the dependencies Dependency updates (Dependabot) label Nov 6, 2026
@dependabot dependabot Bot changed the title chore(deps): bump rector/rector from 2.7.0 to 2.8.3 chore(deps): bump rector/rector from 2.7.0 to 2.8.4 Nov 7, 2026
@dependabot
dependabot Bot force-pushed the dependabot/composer/rector/rector-2.8.3 branch from 062a5d7 to 431b237 Compare November 7, 2026 15:02
Bumps [rector/rector](https://github.com/rectorphp/rector) from 2.7.0 to 2.8.4.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.7.0...2.8.4)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.8.3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/composer/rector/rector-2.8.3 branch from 431b237 to e48dca3 Compare November 8, 2026 04:48
@dependabot @github

dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #1050.

@dependabot dependabot Bot closed this Nov 13, 2026
@dependabot
dependabot Bot deleted the dependabot/composer/rector/rector-2.8.3 branch November 13, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates (Dependabot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants