Skip to content

chore(deps-dev): Bump rector/rector from 2.3.9 to 2.4.0#2398

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/rector/rector-2.4.0
Open

chore(deps-dev): Bump rector/rector from 2.3.9 to 2.4.0#2398
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/composer/rector/rector-2.4.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 6, 2026

Bumps rector/rector from 2.3.9 to 2.4.0.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.4.0

New Features 🥳

  • chore: add SafeDeclareStrictTypesRector to code quality set (#7935), Thanks @​calebdw!
  • [Caching] Add CacheMetaExtensionInterface for custom cache invalidation (#7933), Thanks @​ruudk!
  • feat(php86): add min/max to clamp rector (#7942), Thanks @​calebdw!

Bugfixes 🐛

  • [Php85] Do not convert to pipe on use directly of spread operator on NestedFuncCallsToPipeOperatorRector (#7938)
  • [Console] Allow short command "p" on ProcessCommand (#7931)
  • [Arguments] Skip self class const fetch inside this class target replacement on ReplaceArgumentDefaultValueRector (#7940)
  • [CodeQuality] Hnadle with negation binary op previous if on CombineIfRector (#7945)
  • [CodingStyle] Skip by reference required params on call inside on ArrowFunctionDelegatingCallToFirstClassCallableRector (#7949)

Removed 💀

  • [DeadCode] Skip pipe operator on RemoveDeadStmtRector (#7941)
  • [DeadCode] Handle crash on multi elseif on RemoveDeadIfBlockRector (#7946)
  • [DeadCode] Skip with assign to call with target has #[NoDiscard] attribute on RemoveUnusedVariableAssignRector (#7950)

rectorphp/rector-symfony 🎵

  • [CodeQuality] Handle different parameter type same name used on ControllerMethodInjectionToConstructorRector (#929)
  • [CodeQuality] Skip used by static closure use on ControllerMethodInjectionToConstructorRector (#928)
  • [Symfony61] Skip non static external class callable on MagicClosureTwigExtensionToNativeMethodsRector (#927), Thanks @​wuchen90

rectorphp/rector-doctrine 🟠

  • Fix infinite loop check instanceof name check to use Name class (#481)

rectorphp/rector-phpunit 🟢

  • [PHPunit 9] Move AssertRegExpRector to phpunit 90 set with refactor to use assertMatchesRegularExpression/assertDoesNotMatchRegularExpression (#667)
  • [PHPUnit 9] Rename assertRegExp/assertNotRegExp to assertMatchesRegularExpression/assertDoesNotMatchRegularExpression on phpunit 90 set (#666)
  • Fix assert PHPStan on ConfiguredMockEntityToSetterObjectRector (#665)
Commits
  • a51dfdd Rector 2.4.0
  • 8d5a246 Updated Rector to commit 9dccc8a0efb26609bdc90e5e7b99dafb4e2fde78
  • d633182 Updated Rector to commit 4fb2a68178f3bd7245dfc7a5ef3dfef8a2764f00
  • 7df961f Updated Rector to commit b1899f4592d086026c72f92b9a656cd61aa62c5c
  • b767a22 Updated Rector to commit b1899f4592d086026c72f92b9a656cd61aa62c5c
  • f4dbae3 Updated Rector to commit b1899f4592d086026c72f92b9a656cd61aa62c5c
  • 5d0ec22 Updated Rector to commit 11b6e0227021e4e048b71ee4acd7ad8ffd91e9ee
  • 661063f Updated Rector to commit febd1cc5cd7e0e7523fedad957fa45384c1764eb
  • 1be015b Updated Rector to commit febd1cc5cd7e0e7523fedad957fa45384c1764eb
  • ece543f Updated Rector to commit ec3840127609777441aaef9a12690d5dcd454269
  • 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.3.9 to 2.4.0.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.3.9...2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@github-actions github-actions bot enabled auto-merge April 6, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants