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

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

Home / 2.1.2
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-07-17 4.0 kB
Released Rector 2.1.2 source code.tar.gz 2025-07-17 1.8 MB
Released Rector 2.1.2 source code.zip 2025-07-17 4.0 MB
Totals: 3 Items   5.8 MB 4

Bugfixes :bug:

  • Rectify (#7058)
  • [Php82] Handle array dim fetch variable on VariableInStringInterpolationFixerRector (#7060)
  • [Php82] Ensure ArrayDimFetch var is Variable to transform {$ on VariableInStringInterpolationFixerRector (#7061)
  • Update LNumber and DNumber to Int_ and Float_ (#7062)
  • [DeadCode] Handle crash on empty content on SimplifyIfElseWithSameContentRector (#7063)
  • Fix return on SimplifyIfElseWithSameContentRector (#7064)
  • [CodeQuality] Skip when class has __isset() method on IssetOnPropertyObjectToPropertyExistsRector (#7067)
  • [ReplaceArgumentDefaultValueRector] handle multiple replace argument values (#9256) (#7068), Thanks @JohJohan!


New Features :partying_face:

  • [Php56] Add parentheses on unary minus pow left on PowToExpRector (#7065)


Removed :skull:

  • [removal] Remove RectorConfigBuilderRector as not maintained and broken (#7066)

rectorphp/rector-symfony

  • [SYMFONY 4.4] replace Link withRel and withoutRel argument values with constants (#821), Thanks @JohJohan
  • [SYMFONY 5.1] replace Cookie withSameSite argument values with constants (#819), Thanks @JohJohan
  • [SYMFONY 4.2] replace Cookie argument values with constants (#818), Thanks @JohJohan
  • [SYMFONY 3.2] replace Cookie argument values with constants (#817), Thanks @JohJohan
  • [SYMFONY 6.3] replace Link argument values with constants (#816), Thanks @JohJohan
  • [Symfony73] Handle nested array on ConstraintOptionsToNamedArgumentsRector (#815)
  • [Symfony 74] Rename Application::add() to Application::addCommand() (#813), Thanks @mttsch
  • [SYMFONY 4.4] replace Link argument values with constants (#812), Thanks @JohJohan
  • [Symfony 74] Rename Application::add() to Application::addCommand() (#809), Thanks @mttsch

rectorphp/rector-doctrine

  • Update deprecated ArrayItem, Lnumber to use under Node, and Int_ instead (#456)

rectorphp/rector-phpunit

  • Update to use ArrayItem under Node (#504)

rectorphp/rector-downgrade-php

  • [DowngradePhp80] Handle not match @return with native return type on DowngradeUnionTypeDeclarationRector (#295)
  • Clean up origNode set on DowngradeArrayAllRector (#294)
  • [DowngradePhp84] Add DowngradeArrayFindKeyRector (#293)
  • [DowngradePhp84] Add DowngradeArrayFindRector (#292)
  • [DowngradePhp84] Add DowngradeArrayAnyRector (#291)
  • [DowngradePhp84] Add DowngradeArrayAllRector (#290)
Source: README.md, updated 2025-07-17