Skip to content

Released Rector 2.0.7

Latest
Compare
Choose a tag to compare
@TomasVotruba TomasVotruba released this 19 Jan 10:35
· 4 commits to main since this release

New Features 🥳


Bugfixes 🐛

  • [type-declaration] Add typed property, if traits do not duplicate the property (#6663)
  • [removing] Add interface support to RemoveInterfaceRector (#6681)
  • fix: add Symfony support as a composer-based option (#6673), Thanks @ayedbelsem!
  • [CodeQuality] Handle on assign on FlipTypeControlToUseExclusiveTypeRector (#6653)
  • [Performance] Early return FullyQualifiedObjectType on FQCN on ObjectTypeSpecifier (#6658)
  • [CodeQuality] Skip indirect return on SimplifyIfReturnBoolRector (#6660)
  • [Php83] Handle concat in first argument on CombineHostPortLdapUriRector (#6661)
  • [TypeDeclaration] Skip unset by trait on TypedPropertyFromStrictConstructorRector (#6664)
  • [Renaming] Skip used by trait as property promotion on RenamePropertyToMatchTypeRector (#6665)
  • [TypeDeclaration] Skip changed by ref from trait on TypedPropertyFromStrictConstructorRector (#6666)
  • [CodeQuality] Handle with assign missing parentheses on ExplicitBoolCompareRector (#6668)
  • use ->ignoreVCSIgnored() on RectorConfigBuilder::withRootFiles() over custom logic (#6669)
  • [BetterPhpDocParser] Check for closing brace in text content (#8977) (#6670), Thanks @andrewnicols!
  • [AutoImport] Handle FQCN with sub namespace (#6672)
  • [BetterPhpDocParser] Use str_contains() for DoctrineAnnotationDecorator (#6671) (#6674), Thanks @andrewnicols!
  • [AutoImport] Handle inner with sub namespace on auto import (#6679)
  • [DeadCode] Skip dynamic name on RemoveParentCallWithoutParentRector (#6659)



rectorphp/rector-symfony 🎵

  • Back to require-dev rector-src:dev-main (#697)
  • Update GetBySymfonyStringToConstructorInjectionRector fixture test to cover rector-srv:tv-readonly-add-ctor (#696)

rectorphp/rector-doctrine 🟠


rectorphp/rector-phpunit 🟢

  • [PHPUnit 10] Register PropertyExistsWithoutAssertRector to phpunit100.php (#443)
  • Added testcase to demonstrate rector#8977 (#440), Thanks @andrewnicols
  • [PHPUnit10] Replace deleted PHPUnit methods (#438), Thanks @66Ton99