Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps rector/rector from 2.1.7 to 2.2.2.

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)

Released Rector 2.2.1

Bugfixes 🐛

  • Fix php 7.4 regression on strtolower to false on ClassLikeNameClassNameImportSkipVoter (#7436)
  • [CodeQuality] Handle property fetch and common nodes crash on InlineArrayReturnAssignRector (#7437)

Released Rector 2.2

This release includes dozens of fixes, new PHP and Type Declaration rules, many Symfony Console rules improvements...

...and one brand new set: type coverage docblocks 🎉 🎉 🎉

Read the gist on our blog - Rector 2.2: New rules for Array Docblocks

New Features and Improvements 🚀

New rules for Type Coverage Docblocks:

  • Add AddReturnDocblockForCommonObjectDenominatorRector (#7249)
  • Add AddParamArrayDocblockFromDimFetchAccessRector (#7253)
  • Add AddParamArrayDocblockFromDataProviderRector (#7257)

... (truncated)

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 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 will merge this PR once CI passes on it, as requested by @nextcloud-command.


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)

Bumps [rector/rector](https://github.com/rectorphp/rector) from 2.1.7 to 2.2.2.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.1.7...2.2.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner October 11, 2025 01:10
@dependabot dependabot bot requested review from Altahrim, leftybournes and yemkareems and removed request for a team October 11, 2025 01:10
Copy link
Contributor

@nextcloud-command nextcloud-command 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

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 11, 2025

Beginning January 27, 2026, Dependabot will no longer support the @dependabot merge command. Please use GitHub's native pull request controls instead. Please see the changelog announcement for additional details.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 11, 2025

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@dependabot dependabot bot merged commit 7133a2a into master Oct 12, 2025
209 of 216 checks passed
@dependabot dependabot bot deleted the dependabot/composer/vendor-bin/rector/rector/rector-2.2.2 branch October 12, 2025 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants