github rectorphp/rector 2.1.2
Released Rector 2.1.2

latest releases: 2.1.4, 2.1.3
one month ago

Bugfixes 🐛

  • 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 🥳

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

Removed 💀

  • [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)

Don't miss a new rector release

NewReleases is sending notifications on new releases.