Skip to content

chore(deps-dev): bump rector/rector from 2.4.0 to 2.4.1 in /vendor-bin/rector#7478

Merged
vitormattos merged 1 commit intomainfrom
dependabot/composer/vendor-bin/rector/rector/rector-2.4.1
Apr 9, 2026
Merged

chore(deps-dev): bump rector/rector from 2.4.0 to 2.4.1 in /vendor-bin/rector#7478
vitormattos merged 1 commit intomainfrom
dependabot/composer/vendor-bin/rector/rector/rector-2.4.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps rector/rector from 2.4.0 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 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.0 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
  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 Apr 8, 2026
@dependabot dependabot bot added the php Pull requests that update Php code label Apr 8, 2026
@github-project-automation github-project-automation bot moved this to 0. Needs triage in Roadmap Apr 8, 2026
Copy link
Copy Markdown
Member

@vitormattos vitormattos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@github-project-automation github-project-automation bot moved this from 0. Needs triage to 1. to do in Roadmap Apr 8, 2026
@vitormattos vitormattos merged commit 6f78d2c into main Apr 9, 2026
75 checks passed
@vitormattos vitormattos deleted the dependabot/composer/vendor-bin/rector/rector/rector-2.4.1 branch April 9, 2026 13:09
@github-project-automation github-project-automation bot moved this from 1. to do to 4. to release in Roadmap Apr 9, 2026
@vitormattos
Copy link
Copy Markdown
Member

/backport to stable32

@vitormattos
Copy link
Copy Markdown
Member

/backport to stable33

@vitormattos
Copy link
Copy Markdown
Member

/backport to stable32

@vitormattos
Copy link
Copy Markdown
Member

/backport to stable33

@backportbot-libresign
Copy link
Copy Markdown

The backport to stable32 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable32
git pull origin stable32

# Create the new backport branch
git checkout -b backport/7478/stable32

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick b25ff8b7

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/7478/stable32

Error: Failed to create pull request: Validation Failed: {"resource":"PullRequest","code":"custom","message":"A pull request already exists for LibreSign:backport/7478/stable32."} - https://docs.github.com/rest/pulls/pulls#create-a-pull-request


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot-libresign
Copy link
Copy Markdown

The backport to stable33 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable33
git pull origin stable33

# Create the new backport branch
git checkout -b backport/7478/stable33

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick b25ff8b7

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/7478/stable33

Error: Failed to create pull request: Validation Failed: {"resource":"PullRequest","code":"custom","message":"A pull request already exists for LibreSign:backport/7478/stable33."} - https://docs.github.com/rest/pulls/pulls#create-a-pull-request


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

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

Status: 4. to release

Development

Successfully merging this pull request may close these issues.

1 participant