Skip to content

Bump rector/rector from 2.5.6 to 2.5.9 - #184

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/composer/rector/rector-2.5.9
Aug 3, 2026
Merged

Bump rector/rector from 2.5.6 to 2.5.9#184
github-actions[bot] merged 1 commit into
mainfrom
dependabot/composer/rector/rector-2.5.9

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor

Bumps rector/rector from 2.5.6 to 2.5.9.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.5.9

Bugfixes 🐛

  • [DeadCode] Remove unreachable class-like checks in Class_-only rules (#8217)
  • [CodingStyle] Use native php-parser node API over class reflection (#8218)
  • [Php80] Remove AstResolver usage on AddParamBasedOnParentClassMethodRector (#8196)
  • Wire RichParser node visitors via DI factory instead of private property hack (#8215)
  • [Php80] Skip promoting a property the parent declares without a native type in ClassPropertyAssignToConstructorPromotionRector (#8232)
  • [DeadCode] Keep empty __construct() in anonymous class that extends parent on RemoveEmptyClassMethodRector (#8219)
  • [DeadCode] Skip negative zero on RemoveDeadZeroAndOneOperationRector (#8213)
  • [DeadCode] Skip protected property on non-final class on RemoveDefaultValueFromAssignedPropertyRector (#8214)
  • [DeadCode] Skip array dim fetch assign on RemoveDefaultValueFromAssignedPropertyRector (#8212)
  • [DeadCode] Skip if/else in loop on RemoveDefaultValueFromAssignedPropertyRector (#8211)
  • [DeadCode] Skip early return in constructor on RemoveDefaultValueFromAssignedPropertyRector (#8209)

Set changes 🗑️

NullToStrictStringFuncCallArgRector out of the PHP 8.1 set (#8234)

The rule and all its fixtures stay, so it can still be opted into:

->withRules([NullToStrictStringFuncCallArgRector::class])

Deprecations 💀

TypeDeclarationDocblocks: 3 data provider docblock rules (#8235)

Data provider docblock typing is not relevant to code quality — it increases maintenance cost and decreases readability of the test class.

Deprecated rules:

  • AddReturnArrayDocblockFromDataProviderParamRector
  • AddReturnDocblockDataProviderRector
  • AddParamArrayDocblockFromDataProviderRector

rectorphp/rector-symfony 🎵

  • [Symfony72] Match push() to its own RequestStack variable in PushRequestToRequestStackConstructorRector (#971)
  • [Symfony44] Skip custom isGranted() service calls in controllers in AuthorizationCheckerIsGrantedExtractorRector (#973)
  • [Symfony42] Update Cookie fixture after NewToStaticCallRector config removal (#974)

... (truncated)

Commits
  • 858b1fb Rector 2.5.9
  • 0b1bf8f Updated Rector to commit 8b14eaa4ae390194eb499a9b003ec4754df93a0f
  • a88e754 Updated Rector to commit ad881a17abe083f4e08712ec7484068ce24a23ce
  • e687028 Updated Rector to commit fb1218da767d1b79b3fbad7dca9b0ea931fd35d1
  • 131cad7 Updated Rector to commit ab27b92faaab32e835f2b29791c59cb80fd29c56
  • 9f589db Updated Rector to commit b5b0f88119612be71aee5261c3e9dc2d683a1484
  • 2530409 Updated Rector to commit a4153d97936564a3f146e68462a071f5f1a57b7b
  • 2e0b1dd Updated Rector to commit 91f0ec8e2bee94f51a70378ffb26166a255b9964
  • b011347 Updated Rector to commit 8d1230149cf09bbb908fa712a2f5a62fce820950
  • 7273c05 Updated Rector to commit a0ad10f150d039cab666b7e87c5af6ad66d7055c
  • Additional commits viewable in compare view

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rector/rector](https://github.com/rectorphp/rector) from 2.5.6 to 2.5.9.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.5.6...2.5.9)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.5.9
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Aug 3, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) August 3, 2026 01:04
@github-actions
github-actions Bot merged commit bc7c669 into main Aug 3, 2026
7 checks passed
@github-actions
github-actions Bot deleted the dependabot/composer/rector/rector-2.5.9 branch August 3, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants