Skip to content

Build(deps-dev): Bump rector/rector from 2.3.4 to 2.4.2#3072

Merged
VincentLanglet merged 1 commit intomasterfrom
dependabot/composer/rector/rector-2.4.2
May 1, 2026
Merged

Build(deps-dev): Bump rector/rector from 2.3.4 to 2.4.2#3072
VincentLanglet merged 1 commit intomasterfrom
dependabot/composer/rector/rector-2.4.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 16, 2026

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps rector/rector from 2.3.4 to 2.4.2.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.4.2

New Features 🥳

  • Add some symfony/polyfill support (#7965), Thanks @​sreichel!
  • [DeadCode] Allow remove useless @ var on aliased object on RemoveUselessVarTagRector (#7967)

Bugfixes 🐛

  • [Php81] Handle crash on normal array with variadic inside class on ArrayToFirstClassCallableRector (#7966)
  • [CodeQuality] Skip possibly undefined variable on CoalesceToTernaryRector (#7968)
  • [Php70] Allow is_null() conversion on TernaryToNullCoalescingRector with parentheses handling (#7969)
  • Bump to PHPStan ^2.1.47 (#7970)
  • Bump to PHPStan ^2.1.48 (#7971)

rectorphp/rector-symfony

  • Fix unit test due to new PHPStan release (#931)

Released Rector 2.4.1

New Features 🥳

  • [DeadCode] Add RemoveUselessTernaryRector (#7961)
  • [CodeQuality] Add CoalesceToTernaryRector (#7960)
  • Add --rules-summary option to display applied rules summary with count (#7874), Thanks @​carlos-granados!
  • Add support for adding the #[Override] attribute to methods implementing interfaces (#7934), Thanks @​hockdudu!
  • feat(printer): add per-node NEWLINE_ON_FLUENT_CALL attribute to BetterStandardPrinter (#7910), Thanks @​MrPunyapal!
  • Show line numbers in diff output (#7875), Thanks @​carlos-granados!

Bugfixes 🐛

  • [CodeQuality] Skip with HTML on CompleteMissingIfElseBracketRector (#7952)
  • [CodeQuality] Handle with assign on SimplifyIfElseToTernaryRector (#7951)
  • [CodeQuality] Skip with HTML on TernaryFalseExpressionToIfRector (#7954)
  • [automated] Apply Coding Standard (#7955)
  • Make compatible with PHPStan 2.1.x-dev for ObjectType::equals() change behaviour (#7956)
  • [AutoImport] Handle FQCN in/not in use on auto import + remove unused import as prefix = suffix (#7957)
  • perf: use hash map for installed packages (#7878), Thanks @​calebdw!
  • [ChangesReporting][Alternative] Collect changed_files on --no-diffs with json output with use of JsonOutputFactory (#7821)
  • fix: OOM crash in RemoveUnusedVariableAssignRector (#7964), Thanks @​calebdw!

Deprecations 💀

... (truncated)

Commits
  • e645b64 Rector 2.4.2
  • eb6a3e3 Updated Rector to commit 05371b72780605a5e868d389815d5f173cd86efe
  • b53db8b Updated Rector to commit c5768393422409499e36d53fcdeac88f103f9b6c
  • 4ffe733 Updated Rector to commit f8f34877ad3c75a7e3ec1ff4193556d82f9c9384
  • 6a5893f Updated Rector to commit 84fe920db62fecb447335cbfff9081d67c672a94
  • b6383f8 Updated Rector to commit 6200babc1974748d2ab00ec9802314a2a91e5874
  • 8268aba Updated Rector to commit a6b5203bd0e91d73d38e4036a9cf1d20301bae01
  • 5db5afc Updated Rector to commit 4273c1667357ac77e4d6ebf63846cff2b17c4879
  • 000b705 Rector 2.4.1
  • bf4b7e4 Updated Rector to commit dcc3c8c2a7d2fc378641f3a37b190309512fff38
  • 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.4 to 2.4.2.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.3.4...2.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added automerge dependencies Pull requests that update a dependency file labels Apr 16, 2026
@VincentLanglet VincentLanglet merged commit 92fc978 into master May 1, 2026
10 of 12 checks passed
@VincentLanglet VincentLanglet deleted the dependabot/composer/rector/rector-2.4.2 branch May 1, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant