Releases
1.2.9
Bugfixes 🐛
[Strict] Using in_array() on CallLike instead of double call on Strict Rules (#6388 )
[CodeQuality] Handle If cond as assign on ExplicitBoolCompareRector (#6389 )
[CodeQuality] Skip append non empty array on ForeachItemsAssignToEmptyArrayToAssignRector (#6390 )
[Php80] Mirror return comment on ChangeSwitchToMatchRector (#6394 )
[TypeDeclaration] Skip union intersection types on php 8.1, allow on php 8.2+ (#6395 )
[Php80] Skip @template T as mixed on MixedTypeRector (#6399 )
[DeadCode] Check TemplateType instance check on Dead*TagValueNodeAnalyzer (#6400 )
[CodeQuality] Skip multiple lines on JoinStringConcatRector (#6404 )
[CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406 )
Removed 💀
[DeadCode] Handle consecutive equal case stmts on RemoveDuplicatedCaseInSwitchRector (#6392 )
[DeadCode] Handle handle consecutive equal with jump different case on RemoveDuplicatedCaseInSwitchRector (#6393 )
[DeadCode] Skip @template tag on RemoveUselessVarTagRector (#6396 )
[DeadCode] Support multiple templates in RemoveUselessVarTagRector (#6402 ), Thanks @dragosprotung !
rectorphp/rector-symfony 🎵
[CodeQuality] Skip Request param used by caller method on RemoveUnusedRequestParamRector (#675 )
Better note highlighting (#674 ), Thanks @OskarStark
remove extra character (#673 ), Thanks @IndraGunawan
rectorphp/rector-phpunit 🟢
[code-quality] Add NarrowUnusedSetUpDefinedPropertyRector (#388 )
Add enum/const fetch support to AssertEqualsToSameRector (#394 )
Add count() support to AssertCompareOnCountableWithMethodToAssertCountRector (#395 )
[AnnotationsToAttribute] Skip not in test on AnnotationWithValueToAttributeRector (#387 )
Add ReplaceTestFunctionPrefixWithAttributeRector (#386 ), Thanks @blackwolf12333
You can’t perform that action at this time.