Tomas Votruba
de4748f935
README + recipe improvements ( #4017 )
...
* rector-recipe and README improvements
* ci: add generate command test
2020-08-24 21:25:26 +00:00
Tomas Votruba
41b679cb2a
[DX] Replacing arrays with objects ( #4008 )
...
* [phpstan] Add forbidden array destruct to prevent array mess
* use ArrayCallable value object
* add OpeningAndClosingSpace
* drop ConstructorInjectionToActionInjectionRector, antipattern
* use value objects
* [rector] use value objects
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-23 09:39:09 +00:00
Tomas Votruba
3ddf965146
FunctionTo* correction renames, add PHPStan rule to check correct category of rule ( #3896 )
...
* rename Function* to Func* rector rule
* [Utils] Add RequireRectorCategoryByGetNodeTypesRule
* [PHPUnit] Rename SpecificMethod to MethodCall category to respect subscriberd nodes
* [rector] [PHPUnit] Rename SpecificMethod to MethodCall category to respect subscriberd nodes
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-04 10:02:17 +00:00
Tomas Votruba
7cda57615c
rename FunctionToStaticCallRector to FuncCallToStaticCallRector ( #3895 )
...
* rename FunctionToStaticCallRector to FuncCallToStaticCallRector
* rename FunctionToNewRector to FuncCallToNewRector
* remove RenameFuncCallToStaticCallRector, duplicate of FuncCallToStaticCallRector
2020-08-04 08:25:41 +00:00
TomasVotruba
fe72e003ed
use constants in configs
2020-07-30 13:53:53 +02:00
TomasVotruba
3aa9b261a2
[config] switch from args to configure method call
2020-07-30 00:43:06 +02:00
TomasVotruba
7c01151ec6
Move Core Rector rules to Generic namespace, to prevent mixup with Core code
2020-07-29 02:05:52 +02:00
TomasVotruba
2f927842a7
move sets to single /set directory
2020-07-21 00:46:53 +02:00