Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 10, 2025

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

Release notes

Sourced from rector/rector's releases.

Released Rector 2.2.2

This release contains important fix for Rector custom rules running on PHPUnit 12.2+ ✔️

PHPUnit started to preload it's own php-parser version, that conflicts with Rector's one. Now we preload our side first again. Your tests shall run 👍 If not: let us know in: rectorphp/rector#9416

New Features 🥳

  • [tdd] Add AddParamArrayDocblockBasedOnArrayMapRector (#7435)
  • [Php85] Add ShellExecFunctionCallOverBackticksRector (#7445)

Bugfixes 🐛

  • [Scoped] Load early preload.php on scoped bootstrap.php on phpunit 12+ running (#7451)
  • [autoload] Fix phpstan + rector tests co-run to avoid duplicated php-parser loading error (#7440)
  • [Php80] Skip inside by ref method on ChangeSwitchToMatchRector (#7443)
  • [Renaming] Allow self/static on RenamePropertyRector (#7444)
  • Directly check type of substr() on RecastingRemovalRector (#7446)
  • [fix] Skip symfony config closures on FirstClassCallableRector as they do not support first class callables (#7447)
  • [DeadCode] Skip ClassLikeNameClassNameImportSkipVoter for RecastingRemovalRector (#7448)
  • [dead-code] Skip substr casting removal on PHP 7.x, as can return false|string (#7449)
  • [Php74] Skip used in compact on ClosureArrowFunctionAnalyzer (#7453)
  • [TypeDeclarationDocblocks] Fix missing backslash on class-string type on DocblockGetterReturnArrayFromPropertyDocblockVarRector (#7454)
Commits
  • 5b353f7 Rector 2.2.2
  • cef3393 Updated Rector to commit 33bb8a6e1b6b1685f7e50e30e6eb801c4585221a
  • 221d3f3 Updated Rector to commit d416b99eae2a45c2cf90cdf9d77e7524e166a107
  • eb0ee8a Updated Rector to commit 188b90af99dacc322fb28c93bc0755f3881be53f
  • 3176cfd Updated Rector to commit 7ccb174abecda973a5f37b174c1343866dc82c5c
  • 6813895 Updated Rector to commit 9a95b6b13e7522da28576a3e615f319b417feedb
  • 12ec74a Updated Rector to commit d57b45e163b919f164b0b8a4622679f35663ba49
  • 24ab9f5 Updated Rector to commit 7e1ee78833cd21e492b98ff4863e3af91b15969f
  • a40557f Updated Rector to commit ade4c813058020138d73b110f091a2fbee415536
  • 853bee4 Updated Rector to commit 15d2df357f36b588e3b24de06757d869924dc148
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.1.0...2.2.2)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.2.2
  dependency-type: direct:production
...

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 Oct 10, 2025
Copy link

codecov bot commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.00%. Comparing base (40258ad) to head (0906719).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #160   +/-   ##
=========================================
  Coverage     96.00%   96.00%           
  Complexity      490      490           
=========================================
  Files            36       36           
  Lines          1528     1528           
=========================================
  Hits           1467     1467           
  Misses           61       61           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@neilime neilime merged commit 834bad3 into main Oct 10, 2025
6 checks passed
@neilime neilime deleted the dependabot/composer/tools/rector/rector-tw-2.2 branch October 10, 2025 05:05
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.

1 participant