Skip to content

Released Rector 1.2.10

Latest
Compare
Choose a tag to compare
@TomasVotruba TomasVotruba released this 08 Nov 14:03
· 75 commits to main since this release

New Features 🥳

  • [PHP8.3] add new rectors for get_class()/get_parent_class() without arguments (#6405), Thanks @cabbey!

Bugfixes 🐛

  • Fix ClassDependencyManipulator to add dependency on right position (#6413)
  • [Php81] Skip Doctrine Embeddable on ReadOnlyPropertyRector (#6411)
  • [Privatization] Skip with parameter on PrivatizeLocalGetterToPropertyRector (#6412)

Removed 💀

  • [DeadCode] Skip nullable @ template on RemoveUselessReturnTagRector (#6409)



rectorphp/rector-phpunit 🟢

  • [PHPUnit 10] Skip with Magic __get() on AssertIssetToAssertObjectHasPropertyRector (#403)
  • [CodeQuality] Add CreateMockToDirectNewRector (#402)
  • [CodeQuality] Add SingleMockPropertyTypeRector (#401)
  • [CodeQuality] Skip used by trait and multiple props on NarrowUnusedSetUpDefinedPropertyRector (#400)
  • Skip property with default value in NarrowUnusedSetUpDefinedPropertyRector (#398)
  • [CodeQuality] Add FlipAssertRector (#397)
  • Add count() support to AssertCompareOnCountableWithMethodToAssertCountRector (#395)
  • Add enum/const fetch support to AssertEqualsToSameRector (#394)
  • skip static property in NarrowUnusedSetUpDefinedPropertyRector (#393)