packagist rector/rector 0.17.13
Released Rector 0.17.13

latest releases: dev-main, 1.2.10, 1.2.9...
15 months ago

New Features and Changes 🥳

  • [TypeDeclaration] Skip in conditional on AddParamTypeFromPropertyTypeRector (#4779)
  • [DX] Deprecate NonPhpRectorInterface, the only rule and its file processor, to make Rector handle exlusively PHP (#4761)
  • Bump nikic/php-parser to 4.17 (#4781)

Removed 💀

  • Remove SwapMethodCallArgumentsRector as could lead to infinite swapping, use custom rule with type/value check instead (#4766)
  • [Php81] Remove IntersectionTypesRector as rely on docblock (#4784)

Bugfixes 🐛

  • [DeadCode] Skip used by trait on RemoveUnusedPrivateMethodRector (#4770)
  • [DeadCode] Skip used by trait inside Closure on RemoveUnusedPrivateMethodRector (#4773)
  • [e2e] Handle $rectorConfig->paths() with wilcards * config (#4765)
  • [Config] Move from magic loading of all PHPStan extensions, their bootstrap files etc. under control with explicit file listing (#4769)
  • [TypeDeclaration] Handle crash on concat param append returned used on Arg on StrictStringParamConcatRector (#4774)
  • [TypeDeclaration] Skip param re-assign on Strict Param rules (#4775)
  • [TypeDeclaration] Skip param int on StrictStringParamConcatRector (#4780)
  • [PHPStanStaticTypeMapper] Allow Closure type on ClosureTypeMapper based on PHP versions (#4785)
  • [PHPStanStaticTypeMapper] Allow standalone null type on NullTypeMapper on php 8.2 (#4783)
  • Make SimplifyUselessVariableRector run without scope (#4791)
  • Make NullToStrictStringFuncCallArgRector run without scope (#4792)

Don't miss a new rector release

NewReleases is sending notifications on new releases.