Skip to content

Released Rector 0.12.16

Compare
Choose a tag to compare
@TomasVotruba TomasVotruba released this 09 Feb 15:47
· 5027 commits to main since this release

New Features 🎉

  • [RemoveFinalFromConstRector] (#1732), Thanks @reypm!
  • [DeadCode] Add support for removal readonly property on RemoveUnusedPromotedPropertyRector (#1741), Thanks @samsonasik!
  • [DowngradePhp80] Add DowngradeStringReturnTypeOnToStringRector (#1750), Thanks @samsonasik!
  • [Php74] Add inlinePublic configurable for TypedPropertyRector (#1745), Thanks @samsonasik!
  • [DowngradePhp72] Add DowngradePhp72JsonConstRector (#1765), Thanks @samsonasik!
  • [DowngradePhp73] Add DowngradePhp73JsonConstRector (#1782), Thanks @samsonasik!
  • [DowngradePhp71] Add DowngradePhp71JsonConstRector (#1784), Thanks @samsonasik!

Bugfixes 🐛

  • [Php81] Skip dynamic class on NewInInitializerRector (#1736), Thanks @samsonasik!
  • [Php81] Do not add final modifier on class constant that the class has children on FinalizePublicClassConstantRector (#1739), Thanks @samsonasik!
  • [Php81] Handle non-dynamic + dynamic args (non-array, non-scalar) passed to New_ on NewInInitializerRector (#1737), Thanks @samsonasik!
  • [Php81] Skip override abstract method on NewInInitializerRector (#1740), Thanks @samsonasik!
  • [Renaming] Fix duplicate namespacing on RenameNamespaceRector (#1761), Thanks @samsonasik!
  • [Php80] Fix configure should not remove annotation directly passed bool value (#1761), Thanks @samsonasik!
  • [PHP 8.0] Include keys in annotation to attribute transformation (#1766)
  • [CodeQuality] Skip ExplicitMethodCallOverMagicGetSetRector on method no param + variadic (#1768), Thanks @samsonasik!

Changes ⤵️

  • [DX] Deprecate show command (#1758), use --debug option on main command instead