Releases
0.12.7
New Features 🎉
[DeadCode] Add RemoveUnusedParamInRequiredAutowireRector (#1225 ), Thanks @mallardduck !
[PHP 8.2] Add rule for AllowDynamicProperties attribute (#1225 ), Thanks @mallardduck !
[CodeQuality] Add ReplaceMultipleBooleanNotRector (#1319 ), Thanks @villfa !
[Renaming] Handle rename template tag of class on RenameClassRector (#1318 ), Thanks @samsonasik !
[TypeDeclaration] Add AddPropertyTypeDeclaration rule (#1317 )
[DeadCode] Add support remove unused in between private method parameter for RemoveUnusedPrivateMethodParameterRector (#1321 ), Thanks @samsonasik !
[DeadCode] Add RemoveDeadContinueRector (#1323 ), Thanks @villfa !
[Renaming] Add generic rename annotation to RenameAnnotationRector (#1341 )
[DX] make all configure() methods accept direct value object configuration (#1322 )
[DX] Make use of configure() method (#1344 )
[DX] Re-use configure() in docs + remove prefixing of ValueObjectInliner (#1410 )
Array merge to unpacking (#1345 ), Thanks @Bl00D4NGEL !
[Php80] Add AddParamBasedOnParentClassMethodRector (#1431 ), Thanks @samsonasik !
Add SimpleStaticType for return type completion (#1441 )
[Downgrade PHP 5.5] Add DowngradeBoolvalRector (#1292 ), Thanks @villfa !
[Downgrade PHP 7.0] Add DowngradeClosureCallRector (#1304 ), Thanks @villfa !
[DowngradePhp74] Add DowngradeReflectionGetTypeRector (#1407 )
[DowngradePhp80] Add getAttributes() reflection downgrade (#1406 )
[Downgrade PHP 80] Add DowngradeArbitraryExpressionsSupportRector (#1347 ), Thanks @villfa !
[DowngradePhp81] Add DowngradeArraySpreadStringKeyRector (#1369 ), Thanks @samsonasik !
Bugfixes 🐛
[Transform] Fix keep args on StaticCallToNewRector (#1326 ), Thanks @samsonasik !
do not show --debug output on json error formatter (#1343 )
[Downgrade PHP 5.6] Fix DowngradeUseFunctionRector (#1348 ), Thanks @villfa !
[Php81] Skip has default value on ReadOnlyPropertyRector (#1355 ), Thanks @samsonasik !
[Php81] Skip no type property on ReadOnlyPropertyRector (#1354 ), Thanks @samsonasik !
[Php81] Skip no type param on ReadOnlyPropertyRector (#1365 ), Thanks @samsonasik !
[Php81] Skip non private modifier on ReadOnlyPropertyRector (#1364 ), Thanks @samsonasik !
strip empty starting/ending php tags (#1329 ), Thanks @staabm !
Removed 💀
[Core] Remove deprecated AbstractRector getObjectType method (#1295 ), Thanks @samsonasik !
[DX] Explicitly inject visibility manipulator service instead of parent constructor (#1298 )
[League] Remove only League upgrade set from core, give space for community package with whole vendor (#1305 )
[CodingStyle] Remove PreslashSimpleFunctionRector, let php-cs-fixer doing good work handle that (#1310 )
[DeadCode] Remove RemoveAssignOfVoidReturnFunctionRector as unreliable, let PHPStan report and use handle various cases (#1313 )
[Transform] Remove unused ClassConstFetchToValueRector (#1332 )
[CodingStyle] Remove custom code rule ManualJsonStringToJsonEncodeArrayRector, not much generic (#1398 )
[Cleanup] merge duplicated SplitStringClassConstantToClassConstFetchRector to UseClassKeywordForClassNameResolutionRector (#1401 )
[Carbon] Remove fraction of few rules from history (#1408 )
Bump to PHP 8.1 📈
New Symfony 6 Set 🥳
[Symfony 6] Extend return type set (#88
[Symfony] Add FrameworkExtraBundle with attributes set (#85 )
[Symfony] Extend Symfony 5.3, 5.4 and 6.0 sets (#89 )
You can’t perform that action at this time.