Skip to content

Released Rector 2.0.15

Compare
Choose a tag to compare
@TomasVotruba TomasVotruba released this 05 May 10:03
· 120 commits to main since this release

New features and changes 🎉

  • [parallel] bump default threads from 16 to 32 to keep up with modern technology (#6877)

Bugfixes 🐛

  • [TypeDeclaration] Reduce repetitive new ObjectType() on each properties on TypedPropertyFromCreateMockAssignRector (#6869)
  • [CodeQuality] Handle with parentheses on SimplifyIfReturnBoolRector (#6871)
  • [Naming] Skip protected property on non-final class on RenamePropertyToMatchTypeRector (#6872)
  • [PHPStan 2.1.14] Fix resolve __toString() parent non builtin method without return type (#6879)
  • [phpstan] prefer isName() from abstract class over protected service (#6875)
  • [DeadCode] Skip value from docblock on RemoveFilterVarOnExactTypeRector (#6873)



rectorphp/rector-symfony 🎵

  • [symfony 6.2] Fix attribute adding on abstract class in MessageHandlerInterfaceToAttributeRector (#724)

rectorphp/rector-phpunit 🟢

  • [depre] Remove deprecated AssertCountWithZeroToAssertEmptyRector (#483)
  • Ensure that rule PreferPHPUnitSelfCall refactor call only for static methods, not any (#482), Thanks @andrew-demb
  • [tests] add test fixture for double instanceof check (#481)
  • [PhpUnit] Skip different object on PreferPHPUnit(This/Self)CallRector (#480)