github rectorphp/rector 0.13.5
Released Rector 0.13.5

latest releases: 1.2.10, 1.2.9, 1.2.8...
2 years ago

New Features 🎉

  • [DeadCode] Add RemoveJustPropertyFetchRector (#2433)
  • [DX] Make ClassAnnotationMatcher differentiate between known and unknown classes (#2319), Thanks @dritter!
  • [CS] Fix dynamic and broken indent detection, allow to configure spacing via RectorConfig::indent() method (#2442)
  • [DX] Add deprecation exception about old ContainerConfigurator, to prepare for removal even in CI (#2463)
  • use PHPStan 1.7.12, with phpdoc-parser 1.6.0 to fix endline issue (rectorphp/rector-src@56651d0)
  • [DX] Detach typo3 from core to allow stable growth of both packages (#2446)
  • [scoped] Build with Scoper 0.17.2 (#2445)

Bugfixes 🐛

  • [DX] Remove too detailed --type in init command, use fw documentation instead (#2430)
  • [Renaming] Keep comment on RenameClassRector (#2439)
  • [Renaming] Do not Rename Docblock inner Namespace on RenameClassRector (#2441)
  • [Renaming] Handle crash on FuncCall with Arg class name conflict with use statement or namespace on RenameClassRector with auto import enabled (#2431)
  • [DX] Remove symlinks option to require safe way of providing explicit paths (#2443)
  • [Php74] Remove ReservedFnFunctionRector (#2447)
  • [Renaming] Skip rename docblock on conflict with alias on RenameClassRector (#2450)
  • [DeadCode][PHPUnit] handle crash on RemoveJustPropertyFetchForAssignRector+SimplifyForeachInstanceOfRector (#2453)
  • [CodingStyle] Skip non-empty-string on VarConstantCommentRector (#2451)
  • [Renaming] Do not rename class with same name inside different namespace on RenameClassRector (#2455)
  • [Php72] Handle crash on PreInc usage on CreateFunctionToAnonymousFunctionRector (#2456)
  • [Php70] Handle crash on EregToPregMatchRector (#2460)

Don't miss a new rector release

NewReleases is sending notifications on new releases.