Skip to content

chore(deps-dev): bump rector/rector from 2.4.5 to 2.4.6#1166

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/rector/rector-2.4.6
Open

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 17, 2026

Copy link
Copy Markdown
Contributor

Bumps rector/rector from 2.4.5 to 2.4.6.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.4.6

New Features 🥳

  • [deprecation] Add RenameDeprecatedMethodCallRector inferring rename from @​deprecated docblock (#8015)
  • [sets] kick of named args set (#8013)
# rector.php
return (RectorConfig::configure())
    ->withPreparedSets(namedArgs: true);

Bugfixes 🐛

  • [BetterPhpDocParser] Keep import referenced by @see/@​uses tag with a trailing description (#8039), Thanks @​ruudk!
  • [internals] skip and finalize beforeTraverse() and afterTraverse() as never used, use refactor() instead (#7765)
  • [DeadCode] Skip (void) cast with #[NoDiscard] on target method call on RemoveDeadStmtRector (#8038)
  • Bump composer/pcre to ^3.4.0 and phpstan/phpstan to ^2.2.2 (#8037)
  • [CodeQuality] Handle crash on custom exception not autoloaded on ThrowWithPreviousExceptionRector (#8036)
  • refactor: extract AutoloadFileParameterResolver from bin, add tests (#8035), Thanks @​SanderMuller!
  • Fix cached results surviving a change of --autoload-file (#8034), Thanks @​SanderMuller!
  • [CodingStyle] Remove AstResolver usage on ArrowFunctionAndClosureFirstClassCallableGuard (#8031)
  • [DeadCode] Remove AstResolver on RemoveParentCallWithoutParentRector (#8032)
  • [DeadCode] Skip with use of func_num_args() on RemoveNullArgOnNullDefaultParamRector (#8030)
  • [Php70] Skip rewriting to $this on static method or static closure on StaticCallOnNonStaticToInstanceCallRector (#8026)
  • [ci] add compat test (#8025)
  • Fix ReplaceArgumentDefaultValueRector generating invalid self:: constant in unrelated classes (#8023)
  • Fix RemoveDeadIfBlockRector dropping else block when merging empty if with elseif (#8022)
  • Fix RemoveParentCallWithoutParentRector removing valid call when ancestor hierarchy is unresolvable (#8018)
  • split of RemoveNullNamedArgOnNullDefaultParamRector to handle only named args (#8014)
  • Add failing tests (#8012), Thanks @​u01jmg3!
  • Update rector/swiss-knife version to ^2.4.1 (#8011)

rectorphp/rector-symfony 🎶

  • [Symfony81] Add new rule for deprecated validator test usages (#948), Thanks @​florianhofsaessC24!
  • fix: only convert Twig extensions fully reducible to AsTwig attributes (#947)
  • [Symfony73] Sort optional parameters last in InvokableCommandInputAttributeRector (#945)
  • Add PHPStan rule requiring nested set configs to be imported in parent set config (#943)
  • [Symfony81] Add new rule for Security component (#942), Thanks @​MrYamous!
  • Remove unused imports (#941), Thanks @​MrYamous!
  • [Symfony81] Add new rule for Filesystem (#940), Thanks @​MrYamous!

... (truncated)

Commits
  • 9b9e5c7 Rector 2.4.6
  • 2d9889c Updated Rector to commit 5dfb29c770aee27d3c8a432c3b5ac6bb4b4c3c36
  • f47ca16 Updated Rector to commit 21785b46e7e8a5eeb155030d81b10d54a0fd408a
  • 809e24d Updated Rector to commit 9704b6fdcce08d322181ac48485c35cdc28082ae
  • b4775d0 Updated Rector to commit 9e4dc598b59992584b4c9c13822cb409cde0d2e9
  • fc13aff Updated Rector to commit 9e4dc598b59992584b4c9c13822cb409cde0d2e9
  • dabec70 Updated Rector to commit a01724e1e63cdb4456f3d121cf7580d608bab603
  • 3d28220 Updated Rector to commit 5f6399efbb348a453bfc959c17885590155ae840
  • 1a40588 Updated Rector to commit 5c5fd4d142902a90ac8a19ee71c4e1a5430102a4
  • 19b2482 Updated Rector to commit 1f43c362108a4278bb2fc137cf3495d7a55a11d1
  • 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.4.5 to 2.4.6.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.4.5...2.4.6)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.4.6
  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 Jun 17, 2026
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