Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps rector/rector from 2.2.1 to 2.2.3.

Release notes

Sourced from rector/rector's releases.

Released Rector 2.2.3

New Features 🥳

  • [code-quality] Add VariableConstFetchToClassConstFetchRector (#7457)
  • [coding-style] Add BinaryOpStandaloneAssignsToDirectRector (#7466)
  • [type-declaration] Add AddParamStringTypeFromSprintfUseRector (#7477)

Bugfixes 🐛

  • [TypeDeclaration] Skip override from parent method on AddParamStringTypeFromSprintfUseRector (#7479)
  • [ci] 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)
  • Fix autoload preload on PHPUnit 12+ on global installation (#7468)
  • [DeadCode] Skip vars exists in static vars on RemoveNonExistingVarAnnotationRector (#7463)

Removed 💀

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)

... (truncated)

Commits
  • d27f976 Rector 2.2.3
  • 7e0229d Updated Rector to commit 9b6032d2ac7e62d68d3a87282ff58a518f4f985e
  • 5112248 cleanup templates to allow rebuld
  • 491510a Updated Rector to commit 9b6032d2ac7e62d68d3a87282ff58a518f4f985e
  • f9f4c52 Updated Rector to commit 71c186825d6c56464f05351e98ba9b269f85d023
  • 28ce7a7 Updated Rector to commit 8cccd99ceeedbb6efc430b705a6a1f17774ac0d3
  • d398cd1 Updated Rector to commit 4b409e1205b1e98535cf5b9dc76eb37d8ed6dc94
  • 91816e6 Updated Rector to commit 0a555c872e86970e85f5466675eabf5962fed325
  • 935fcff Updated Rector to commit e7381c2a1031f57a7e80eacf9884033c07d8c4a4
  • d168fc0 Updated Rector to commit 08c953e98fd3a00e77caeefebb09daa4f5b9127f
  • 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 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.2.1 to 2.2.3.
- [Release notes](https://github.com/rectorphp/rector/releases)
- [Commits](rectorphp/rector@2.2.1...2.2.3)

---
updated-dependencies:
- dependency-name: rector/rector
  dependency-version: 2.2.3
  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 Oct 13, 2025
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.

0 participants