Skip to content

chore(deps-dev): update rector/rector requirement from 2.4.0 to 2.4.1 in the composer-dependencies group#10091

Merged
samsonasik merged 2 commits intodevelopfrom
dependabot/composer/composer-dependencies-a956dfbda2
Apr 8, 2026
Merged

chore(deps-dev): update rector/rector requirement from 2.4.0 to 2.4.1 in the composer-dependencies group#10091
samsonasik merged 2 commits intodevelopfrom
dependabot/composer/composer-dependencies-a956dfbda2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Updates the requirements on rector/rector to permit the latest version.
Updates rector/rector to 2.4.1

Release notes

Sourced from rector/rector's releases.

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 💀

  • [Php81] Deprecate NewInInitializerRector as depends on context (#7913)
  • [deprecation] deprecate file, use getFile() instead (#7962)
Commits
  • 000b705 Rector 2.4.1
  • bf4b7e4 Updated Rector to commit dcc3c8c2a7d2fc378641f3a37b190309512fff38
  • fc9d780 Updated Rector to commit 07fce8301826c36630ece64dad558ff6ea2fe109
  • 319264f Updated Rector to commit c03bb57aa2dadd48639eac8d8f9c55ce771498c4
  • dc915bd Updated Rector to commit 43ad95c6fd73abe0878dcd2ff81b4dfbcaf2c4a7
  • 586f583 Updated Rector to commit 682d85bb311e2149790daccbb69e843a5ab1a215
  • 79bd1f8 Updated Rector to commit cdd219c5341e7ef841c1567960e60a945e9b59f2
  • 8049f60 Updated Rector to commit 52c6ece13308d46109bd1c2f4927592244d1c7b0
  • 806d6a2 Updated Rector to commit 23810525658cb51d0e169c2556917f22a245bcde
  • 0df929a Updated Rector to commit de69d058258a2a6639a2d9b937a731a8665978d8
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.

Updates `rector/rector` to 2.4.1
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.4.0...2.4.1)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.4.1
  dependency-type: direct:development
  dependency-group: composer-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update external dependencies php Pull requests that update php code labels Apr 8, 2026
@samsonasik
Copy link
Copy Markdown
Member

I've re-run rector to remove useless @var 0bf518e

@samsonasik samsonasik merged commit b23f415 into develop Apr 8, 2026
58 checks passed
@samsonasik samsonasik deleted the dependabot/composer/composer-dependencies-a956dfbda2 branch April 8, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update external dependencies php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant