github rectorphp/rector 1.0.3
Released Rector 1.0.3

latest releases: 1.0.5, 1.0.4, 1.04...
2 months ago

New Features and Improvements 🥳

  • [TypeDeclaration] Add ChildDoctrineRepositoryClassTypeRector (#5695)
  • [TypeDeclaration] No need check parent method when method is private on AddVoidReturnTypeWhereNoReturnRector (#5690)
  • [Php83] Add support +/- value on constant on AddTypeToConstRector (#5694)
  • Add dump_node() helper function (#5696)
  • [CodeQuality] Add Equal and NotEqual support on SimplifyIfReturnBoolRector (#5697)
  • [CodeQuality] Add support for compare $this::class compare with string on UseIdenticalOverEqualWithSameTypeRector (#5698)

Bugfixes 🐛

  • [Configuration] Fix parallel config always replaced by next config per-default true (#5683)
  • [CodingStyle] Skip anonymous class on MakeInheritedMethodVisibilitySameAsParentRector (#5688)
  • [Php80] Fix typo class name: DoctrineCoverterterAttributeDecorator -> DoctrineConverterAttributeDecorator (#5689)
  • [Php81] Handle with attribute on ReadOnlyPropertyRector on property promotion (#5692)
  • [Php72][TypeDeclaration] Fix infinite loop on ParseStrWithResultArgumentRector+DeclareStrictTypesRector (#5699)
  • [CodeQuality] Skip sort/ksort on TernaryFalseExpressionToIfRector (#5703)
  • fix: Strip left spaces from opening tags when comparing output for changes (#5701), Thanks @stilliard!
  • [CodingStyle] Skip implements interface on MakeInheritedMethodVisibilitySameAsParentRector (#5707)
  • [CodeQuality] Skip throw after foreach with return in loop on SimplifyForeachToCoalescingRector (#5714)
  • Skip mixed in ParamTypeByMethodCallTypeRector as not specific (#5715)
  • [CodeQuality] Skip compare string with stringable object on UseIdenticalOverEqualWithSameTypeRector (#5718)
  • [Php80] Skip ObjectType on ChangeSwitchToMatchRector (#5719)

Don't miss a new rector release

NewReleases is sending notifications on new releases.