Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Release notes

Sourced from rector/rector's releases.

Released Rector 2.2.4

New Features 🥳

  • [code-quality] Add RepeatedAndNotEqualToNotInArrayRector (#7517)
  • [code-quality] Add ReplaceConstantBooleanNotRector (#7527)
  • [code-quality] Add VariableConstFetchToClassConstFetchRector (#7457)
  • [coding-style] Add BinaryOpStandaloneAssignsToDirectRector (#7466)

Bugfixes 🐛

  • Fix autoload preload on PHPUnit 12+ on global installation (#7468) (#7472) (#7475)
  • [TypeDeclaration] Skip override from parent method on AddParamStringTypeFromSprintfUseRector (#7479)
  • Run PHPUnit 12 and PHPStan compatibilty check (#7455)
  • [TypeDeclarationDocblocks] Handle repeated item type on DocblockReturnArrayFromDirectArrayInstanceRector (#7459)
  • [BetterPhpDocParser] Unique handling string on BracketsAwareUnionTypeNode (#7462)
  • [CodeQuality] Skip non-variable fetch on VariableConstFetchToClassConstFetchRector as may cause side effect (#7464)
  • [CodingStyle] Skip any CallLike with args !== [] on BinaryOpStandaloneAssignsToDirectRector (#7469)
  • [CodingStyle] Skip compare binary op on BinaryOpStandaloneAssignsToDirectRector (#7470)
  • [CodingStyle] Skip by ref params on BinaryOpStandaloneAssignsToDirectRector (#7471)

Removed and deprecated 💀

  • [deprecated] Deprecate strict-types rules as risky and not practical (#7523)
  • [DeadCode] Skip vars exists in static vars on RemoveNonExistingVarAnnotationRector (#7463)
  • [autoload] Remove PHPUnit version 12 check on preload.php load (#7474)
  • [Removal] Remove --kaizen option, as it might jump right to risky rules, use levels instead (#7478)

rectorphp/rector-phpunit

Commits
  • 904f12f Rector 2.2.4
  • 939bee4 Updated Rector to commit 4fc4e948f8acf95582b8996b5d97f5f6d8743af0
  • 3c8f1a4 Updated Rector to commit deb6fd6bd44577bb0c2afd11f72e760991361e7f
  • 18bf879 Updated Rector to commit 6602925c051b7b30930ddbd938ef12d8af8dd20b
  • 6467d60 Updated Rector to commit 4515af7a6494374c9284bf8811ef271c67685711
  • 75aafcd Updated Rector to commit b52ae959a01cb8c60d3155162e35dcfad5408669
  • 97bd572 Updated Rector to commit b654b46e99eaea9addffa1df2f2efd14e2988dc0
  • 2e473ee Updated Rector to commit 2cd301a878e0d9124e96a243632a2395bf975e5e
  • 2282ccf Updated Rector to commit 5b5c2cd9f465b32508eede574f3b7fba7465f734
  • 15005ca Updated Rector to commit a56a503bad70df6edea7495d70c59142c2ff1264
  • 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.2.3...2.2.4)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.2.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update external dependencies php Pull requests that update Php code labels Oct 22, 2025
@samsonasik samsonasik self-assigned this Oct 22, 2025
@samsonasik
Copy link
Member

samsonasik commented Oct 22, 2025

Fixed notice and re-run Rector, I temporary skip FunctionLikeToFirstClassCallableRector rule that registered to php81 set on rector 2.2.4 as it may need more in depth review in separate PR.

Ready to merge 👍

@michalsn
Copy link
Member

Just to confirm - is the removal of BooleanInIfConditionRuleFixerRector and strictBooleans: true related to the latest Rector release?

@samsonasik
Copy link
Member

@michalsn yes, that is deprecated and going to be removed later, see PR:

Copy link
Member

@michalsn michalsn left a comment

Choose a reason for hiding this comment

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

Ok, thank you @samsonasik!

@samsonasik
Copy link
Member

Thank you @michalsn for the review, let's merge 👍

@samsonasik samsonasik merged commit f36eeec into develop Oct 22, 2025
54 checks passed
@dependabot dependabot bot deleted the dependabot/composer/rector/rector-2.2.4 branch October 22, 2025 15:32
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.

2 participants