github rectorphp/rector 2.3.2
Released Rector 2.3.2

9 hours ago

New Features 🥳

  • [dx] Rename DeprecatedAnnotationToDeprecatedAttributeRector for PHP 8.5 to explicit ConstAndTraitDeprecatedAttributeRector, add trait suport (#7823)

Bugfixes 🐛

  • Bump to PHPStan 2.1.34 and fix compatible code (rectorphp/rector-src#7844)
  • [perf] optimize ParamTypeByMethodCallTypeRector for speed with early checks (#7831)
  • make resolveClassReflection non-nullable as always passed a node (#7833)
  • [Php74] Skip closure in attribute on ClosureToArrowFunctionRector (#7834)
  • Manage named arguments when removing values (#7835), Thanks @carlos-granados!
  • bump to PHP 8.3 + update deps + allow it in CI (#7838)
  • Support array_values in ArrayFirstLastRector (#7830), Thanks @Orest-Divintari!
  • [Php85] Skip as assigned var/op on ArrayFirstLastRector (#7843)
  • Remove no longer needed tweak AlwaysRememberedExpr on Printer per PHPStan 2.1.34 (#7770)

rectorphp/rector-phpunit 🟢

  • fix a class name that should be string (#607)
  • Support array_values in ArrayFirstLastRector (#7830), Thanks @Orest-Divintari!
  • [Php85] Skip as assigned var/op on ArrayFirstLastRector (#7843)

Don't miss a new rector release

NewReleases is sending notifications on new releases.