Releases
2.2.4
Compare
Sorry, something went wrong.
No results found
New Features 🥳
[code-quality] Add RepeatedAndNotEqualToNotInArrayRector (#7517 )
[code-quality] Add ReplaceConstantBooleanNotRector (#7527 )
[code-quality] Add VariableConstFetchToClassConstFetchRector (#7457 )
[coding-style] Add BinaryOpStandaloneAssignsToDirectRector (#7466 )
Bugfixes 🐛
Fix autoload preload on PHPUnit 12+ on global installation (#7468 ) (#7472 ) (#7475 )
[TypeDeclaration] Skip override from parent method on AddParamStringTypeFromSprintfUseRector (#7479 )
Run PHPUnit 12 and PHPStan compatibilty check (#7455 )
[TypeDeclarationDocblocks] Handle repeated item type on DocblockReturnArrayFromDirectArrayInstanceRector (#7459 )
[BetterPhpDocParser] Unique handling string on BracketsAwareUnionTypeNode (#7462 )
[CodeQuality] Skip non-variable fetch on VariableConstFetchToClassConstFetchRector as may cause side effect (#7464 )
[CodingStyle] Skip any CallLike with args !== [] on BinaryOpStandaloneAssignsToDirectRector (#7469 )
[CodingStyle] Skip compare binary op on BinaryOpStandaloneAssignsToDirectRector (#7470 )
[CodingStyle] Skip by ref params on BinaryOpStandaloneAssignsToDirectRector (#7471 )
Removed and deprecated 💀
[deprecated] Deprecate strict-types rules as risky and not practical (#7523 )
[DeadCode] Skip vars exists in static vars on RemoveNonExistingVarAnnotationRector (#7463 )
[autoload] Remove PHPUnit version 12 check on preload.php load (#7474 )
[Removal] Remove --kaizen option, as it might jump right to risky rules, use levels instead (#7478 )
rectorphp/rector-phpunit
Fix argument.type PHPStan errors (#553 ), Thanks @staabm
You can’t perform that action at this time.