rector/rules/Visibility
Tomas Votruba 561e3963e1
Use refactorWithScope() in MakeInheritedMethodVisibilitySameAsParentRector (#2236)
* make MakeInheritedMethodVisibilitySameAsParentRector work with scope and Class_ node

* use scope aware rule in ForeachItemsAssignToEmptyArrayToAssignRector

* use Scope aware method in ParamTypeDeclarationRector

* make DowngradeNonCapturingCatchesRector use of scope aware

* make RemoveDeadInstanceOfRector use of scope awre

* misc

* make ChangeMethodVisibilityRector use the scope aware

* make ParamTypeByParentCallTypeRector use of abstract scope aware

* make Php4ConstructorRector scope aware

* use Scope aware in AddClosureReturnTypeRector

* make DowngradeParentTypeDeclarationRector use of scope aware

* move up the loop

* cleanup static method check, not used
2022-05-05 19:36:21 +02:00
..
Rector Use refactorWithScope() in MakeInheritedMethodVisibilitySameAsParentRector (#2236) 2022-05-05 19:36:21 +02:00
ValueObject [DX] Improve configuration objects + allow Symfony 6 (#1430) 2021-12-09 10:04:27 +01:00