Releases
2.1.1
New Features 🥳
[Php84] Add message name on multilines on DeprecatedAnnotationToDeprecatedAttributeRector (#7030 )
Add SortNamedParamRector (#7047 ), Thanks @VincentLanglet !
Bugfixes 🐛
[CodeQuality] Properly handle Goto_ on ExplicitReturnNullRector (#7018 )
[Php84] Skip non-array on ForeachToArray* rules (#7023 )
[Console] Handle hidden "process" with --option without = on ConsoleApplication (#7022 )
[Php80] Handle with property hook on ClassPropertyAssignToConstructorPromotionRector (#7024 )
[Scoped] Exclude DateRangeError on Scoper for prefixing (#7027 )
[Php84] Handle multi lines text on DeprecatedAnnotationToDeprecatedAttributeRector (#7028 )
[Php55] Avoid $scope = ScopeFetcher::fetch($node); when not needed on GetCalledClassToStaticClassRector (#7029 )
Fix crash on ExactCompareFactory::createBooleanAnd/Or (#7031 )
Move ScopeFetcher::fetch() to near its usage (#7032 )
[CodeQuality][Php84] Handle crash on ForeachToArrayFindRector+OptionalParametersAfterRequiredRector (#7033 )
[Php84] Skip foreach value used after foreach on ForeachToArray* rules (#7034 )
[Php84] Handle key used on conditional on ForeachToArray* rules (#7035 )
[code-quality] Make ctor defined dynamic properties private, as most probably case (#7036 )
[PostRector] Keep first comment after declare(strict_types=1) on UnusedImportRemovingPostRector (#7042 )
[Php80] Make configurable to allow skip on model based classes on ClassPropertyAssignToConstructorPromotionRector (#7043 )
[Kaizen] Save kaizen applied rules into cache to make works on parallel (#7046 )
[Kaizen] No need filter unchanged files when --kaizen is used (#7050 )
[Kaizen] When no files changed, early return empty on FilesFinder, even on kaizen (#7051 )
[Kaizen] Enforce clear cache when there is files changed + kaizen enabled (#7052 )
Fix ambiguous variable name (#7053 )
[Php84] Handle with space on message like class name constant on DeprecatedAnnotationToDeprecatedAttributeRector (#7056 )
[CodeQuality] LogicalToBooleanRector should add parentheses on equal (#7048 )
[Kaizen] Remove unneeded clean kaizen cache since all cache cleared early when there are files to be changed + kaizen enabled (#7054 )
rectorphp/rector-symfony 🎵
Fix code style issues (#810 ), Thanks @mttsch
[Symfony 74] Rename Application::add() to Application::addCommand() (#809 ), Thanks @mttsch
Fix links to Symfony 7.2/7.3 upgrade documents (#808 ), Thanks @mttsch
[Symfony 7.3] Handle existing named array arguments in ConstraintOptionsToNamedArgumentsRector (#807 ), Thanks @gharlan
[Symfony 73] add ConstraintOptionsToNamedArgumentsRector (#806 ), Thanks @pedrocasado
Twig attributes: make methods public (#805 ), Thanks @gharlan
AddVoteArgumentToVoteOnAttributeRector (#804 ), Thanks @tugmaks
[CodeQuality] Skip first class callable on StringCastDebugResponseRector (#803 )
[code-quality] Add StringCastDebugResponseRector (#802 )
add casting to string to AssertSameResponseCodeWithDebugContentsRector as response can be null, and message requires string (#801 )
rectorphp/rector-doctrine 🟠
rectorphp/rector-phpunit 🟢
feat: make AddCoversClassAttributeRector configurable (#502 ), Thanks @canvural
Support PHPUnit 12 in composer based set (#501 ), Thanks @alleknalle
[Attribute] Handle comment below @dataProvider doc on DataProviderAnnotationToAttributeRector (#500 )
[code-quality] Add StringCastAssertStringContainsStringRector (#498 )
You can’t perform that action at this time.