Skip to content

chore(deps-dev): bump rector/rector from 2.5.2 to 2.5.5#1196

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/rector/rector-2.5.5
Closed

chore(deps-dev): bump rector/rector from 2.5.2 to 2.5.5#1196
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/rector/rector-2.5.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 9, 2026

Copy link
Copy Markdown
Contributor

Bumps rector/rector from 2.5.2 to 2.5.5.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.5.5

New Features 🥳

  • [CodingStyle] Add AlternativeIfToBracketRector (#8158)
  • [TypeDeclaration] Add PrivateMethodReturnTypeFromStrictNewArrayRector, split private methods out (#8153)
  • [CodeQuality] Decopule array and object variants from ExplicitBoolCompareRector (#8162)

Bugfixes 🐛

  • [TypeDeclaration] Fix AddClosureParamTypeForArrayMapRector to type closure params from array values, not keys (#8163)
  • [Php56] Add missing parentheses for lower-precedence operands in PowToExpRector (#8161)
  • [Php80] Keep trailing doc comment after annotation in AnnotationToAttributeRector (#8160)
  • [CodeQuality] Skip same boolean in both branches in SimplifyIfReturnBoolRector (#8159)
  • [CodeQuality] Skip alternative syntax (if/endif) in ShortenElseIfRector (#8157)
  • [EarlyReturn] Split nested && operand into its own early return in ReturnBinaryOrToEarlyReturnRector (#8156)
  • [CodeQuality] Preserve parentheses around low-precedence operands in LogicalToBooleanRector (#8155)
  • [CodeQuality] Skip inner function referenced as string callable in InnerFunctionToPrivateMethodRector (#8154)
  • [CodeQuality] Preserve parentheses around right-side assign in LogicalToBooleanRector (#8152)
  • [CodeQuality] Wrap assign on right side of binary op in parentheses in LogicalToBooleanRector (#8151)
  • [DeadCode] Keep generic static union docblock in RemoveDuplicatedReturnSelfDocblockRector (#8150)

Released Rector 2.5.4

New Features 🥳

  • [TypeDeclaration] Add ReturnTypeFromGetRepositoryDocblockRector (#8146)

Bugfixes 🐛

  • [DeadCode] Keep generic @ var/@ return self<...> narrowing annotations (#8147)
  • [TypeDeclaration] Handle getRepository() return via local variable in ReturnTypeFromGetRepositoryDocblockRector (#8148)

Released Rector 2.5.3

New Features 🥳

withTypeGuardedClasses()

Are you an open-source project or package used by others? Do you want to make type changes, but keep BC?

Guard the listed classes and their non-final descendants against method signature changes - e.g. adding a return type or a param type — that would break child classes (#8135)

return RectorConfig::configure()
    ->withTypeGuardedClasses([SomeContract::class]);

... (truncated)

Commits
  • 9718a72 Updated Rector to commit e1283b9e21296c179ae4362962e087f3d1e94de5
  • f058777 Updated Rector to commit 299ca8d032966b50503a96b75aebe8ae4073010f
  • 6d6a6c0 Updated Rector to commit d1a6359b5c451316c7cc3aee899f4ad7b0b4c643
  • 23a6ead Updated Rector to commit e6fc207c6bed3a2e31b38479066a9a64ae7cdbc7
  • 8903402 Updated Rector to commit 52b57a6a3758d9637f318c3b400cb0659c9da250
  • 9d3e354 Updated Rector to commit e9ef0ac4ce584287f60dcf5091dc1e96707aae08
  • 93e395e Updated Rector to commit 6db321307ca733f0bbba2b84031c7263a5e2babe
  • 4509efc Updated Rector to commit 46515d26e5e80620de1c5e1cb8f4e65b021024b5
  • f02ee86 Updated Rector to commit 1ccbb46bfd310b5fc8300de2d6848c1ce77d533e
  • f56ff9f Updated Rector to commit ca5155c03fc6948de4a7d3f1e770f5891ba689ce
  • 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.2 to 2.5.5.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.5.2...2.5.5)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.5.5
  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 Jul 9, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 13, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #1200.

@dependabot dependabot Bot closed this Jul 13, 2026
@dependabot dependabot Bot deleted the dependabot/composer/rector/rector-2.5.5 branch July 13, 2026 21:12
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