Download Latest Version Released Rector 2.2.7 source code.tar.gz (2.0 MB)
Email in envelope

Get an email when there's a new version of Rector

Home / 2.2.3
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-10-11 1.8 kB
Released Rector 2.2.3 source code.tar.gz 2025-10-11 2.0 MB
Released Rector 2.2.3 source code.zip 2025-10-11 4.2 MB
Totals: 3 Items   6.2 MB 0

New Features :partying_face:

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


Bugfixes :bug:

  • [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 :skull:

Source: README.md, updated 2025-10-11