github rectorphp/rector 1.2.8
Released Rector 1.2.8

18 hours ago

Bugfixes 🐛

  • [UnusedImport] Fix removing multiple uses (#6376), Thanks @jorgsowa!
  • [PostRector] Clean up variables and conditional usage on UnusedImportRemovingPostRector (#6378)
  • [PostRector] Reduce repetitive toString() on loop on UnusedImportRemovingPostRector (#6379)
  • [CodeQuality] Skip no @ property doc on DynamicDocBlockPropertyToNativePropertyRector (#6380)
  • [CodeQuality] Handle with other attributes on DynamicDocBlockPropertyToNativePropertyRector (#6381)
  • [CodeQuality] Use existing PhpAttributeAnalyzer service instead of AttributeFinder from Doctrine package on DynamicDocBlockPropertyToNativePropertyRector (#6382)
  • Fix duplicated register ContinueToBreakInSwitchRector in php52.php and php73.php (#6385)
  • [AutoImport] Fix missing @ in deep annotation auto import (#6386)
  • [DeadCode] Skip non FullyQualified property type on RemoveTypedPropertyNonMockDocblockRector (#6383)

New Features 🥳

  • [CodeQuality] Add DynamicDocBlockPropertyToNativePropertyRector (#5691)
  • [DX] [Experimental] Add withPhpLevel() to raise PHP level one rule at a time (#6261)

Don't miss a new rector release

NewReleases is sending notifications on new releases.