Skip to content

Chore(deps-dev): Bump rector/rector from 2.5.2 to 2.5.4 in /vendor-bin/rector#3482

Merged
Chartman123 merged 1 commit into
stable5.3from
dependabot/composer/vendor-bin/rector/stable5.3/rector/rector-2.5.4
Jul 11, 2026
Merged

Chore(deps-dev): Bump rector/rector from 2.5.2 to 2.5.4 in /vendor-bin/rector#3482
Chartman123 merged 1 commit into
stable5.3from
dependabot/composer/vendor-bin/rector/stable5.3/rector/rector-2.5.4

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps rector/rector from 2.5.2 to 2.5.4.

Release notes

Sourced from rector/rector's releases.

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]);

New Rules 🎉

NegatedAndsToPositiveOrsRector

(CodeQuality) — simplify a negated "and" to "or" via de Morgan (#8082)

 $a = 5;
 $b = 10;
-$result = !($a > 20 && $b <= 50);
+$result = $a <= 20 || $b > 50;

ExplicitAttributeNamedArgsRector

(CodeQuality) — positional attribute args → named args (#8079), Thanks @​DaveLiddament!

-#[SomeAttribute(SomeClass::class, null, ['home'])]
+#[SomeAttribute(value: SomeClass::class, only: null, except: ['home'])]
 class SomeClass
</tr></table> 

... (truncated)

Commits
  • adaa18d Rector 2.5.4
  • 0f317ec Updated Rector to commit 0ff467c73e34a3dac3fe982e5bb34fe39f588b4e
  • 330031f Updated Rector to commit 909090d68bd4a522c7986459c038c7c46a926948
  • c531f9b Updated Rector to commit 9ca6fae0e4ed28519c8e942971e3e347bf74229b
  • 3d3577a Rector 2.5.3
  • 0c7c402 Updated Rector to commit 4a1bd1209069775e773ffa3948bccf8207a3fa3b
  • 9ebd51d Updated Rector to commit a3e6be70886edcd0e7dfa2147714018daf27f7e8
  • d7de43f Updated Rector to commit 96ff0040b16e3fc1405af69b98b1edc75d85024d
  • 40c7216 Updated Rector to commit eb3eb215f7594accf81a5c673c267770fbd5a8d0
  • c8fdb53 Updated Rector to commit eb3eb215f7594accf81a5c673c267770fbd5a8d0
  • Additional commits viewable in compare view

@dependabot dependabot Bot added 3. to review Waiting for reviews dependencies Pull requests that update a dependency file labels Jul 11, 2026
@github-actions github-actions Bot enabled auto-merge July 11, 2026 02:03
@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/composer/vendor-bin/rector/stable5.3/rector/rector-2.5.4 branch from 121f0de to 9246cb7 Compare July 11, 2026 03:56
@Chartman123 Chartman123 disabled auto-merge July 11, 2026 08:33
@Chartman123 Chartman123 merged commit 926d0f7 into stable5.3 Jul 11, 2026
61 of 72 checks passed
@Chartman123 Chartman123 deleted the dependabot/composer/vendor-bin/rector/stable5.3/rector/rector-2.5.4 branch July 11, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant