Skip to content

Released Rector 0.15.3

Compare
Choose a tag to compare
@TomasVotruba TomasVotruba released this 08 Jan 16:19
· 3690 commits to main since this release

New Features 🥳

  • [CodeQuality] Add Variable support on class arg on InlineIsAInstanceOfRector (#3261)
  • [Utils] Add ArrayChecker util to verify first data found on given array (#3262)

Bugfixes 🐛

  • [TypeDeclaration] Fix TypedPropertyFromStrictGetterMethodReturnTypeRector for default type (#3251)
  • [Privatization] Optimize ParentPropertyLookupGuard, make $class parameter required (#3252)
  • [CodeQuality] Handle crash on ReturnTypeFromStrictScalarReturnExprRector on ConditionalTypeForParameter (#3254)
  • refactors Spatie enum method calls to native enums (#3226), Thanks @JoolsMcFly!
  • PHP80 string helpers loose comparison (#3246), Thanks @N-Silbernagel!
  • [CodeQuality] Handle class-string case insensitive on CompleteDynamicPropertiesRector (#3260)
  • [TypeDeclaration] Handle comment + single docblock on TypedPropertyFromAssignsRector (#3264)
  • Bump PHPStan ^1.9.7 (#3268)
  • [TypeDeclaration] Do not remove multiple docblocks with comment on TypedPropertyFromAssignsRector (#3263)
  • [e2e] handle multiple classes with anonymous class on MultipleClassFileToPsr4ClassesRector file removed (#3253)