dobryy
28a55c973e
[DX] Add Rule that checks that Rule + value object have same starts ( #4202 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-09-12 23:19:08 +02:00
Tomas Votruba
3d03ec4beb
Removing single-rule elastic package set, merge Decomplex set to CodingStyle, merge FrameworkMigration to NetteToSymfony ( #4079 )
...
* drop elasticsearch-dsl50, used for single change, unmaintained
* [CodingStyleAdvanced] Move UseMessageVariableForSprintfInSymfonyStyleRector from single-rule set Decomplex to CodingStyleAdvanced
* merge FrameworkMigration with 1 class to NetteToSymfony
* [Transform] Move ServiceGetterToConstructorInjectionRector to Transform set
* [Transform] Move ReplaceParentCallByPropertyCallRector to Transform package
* [Transform] Move StaticCallToFunctionRector to Transform
* update docs
* [Transform] Move NewToStaticCallRector to Transform
2020-08-30 18:48:37 +00:00
Tomas Votruba
dfe158e2da
[DX] Various value objects added ( #4034 )
...
* [DX] Add TypeToStaticCall
* [DX] Add ClassConstantRename
* [DX] Add IssetUnsetToMethodCall
* [DX] Add MethodToYield
* drop unamtained shopware sets
* [DX] Add RenamedAnnotationInType
* [DX] Add MethodCallWrap
* [DX] Add RenamedProperty
* [DX] Add StringToClassConstant
* [DX] Add ArgumentSwap
* simplify rename function rector
* [DX] Add RemovedFunctionArgument
* [DX] Add MethodCallToService
* [DX] Add UnprefixedMethodToGetSet
* [DX] Add PseudoNamespaceToNamespaceRector
* [DX] Add FunctionArgumentSwap
* [DX] Add StaticCallToFunction
* [DX] Add ParentCallToProperty
* [DX] Add ParentDependency
* [DX] Add CallWithParamRename
* [DX] Added MethodCallRenameWithAddedArguments
* [DX] Add PropertyToMethodCall
* [DX] Add PropertyToMethodCall
* [rector] [DX] Add PropertyToMethodCall
* [cs] [DX] Add PropertyToMethodCall
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-26 10:54:53 +00:00
Tomas Votruba
b4db31a2ae
[DX] Add ReplacedArgument ( #4030 )
2020-08-26 00:21:41 +02:00
Tomas Votruba
5cad696c95
[DX] Add AddedArgument ( #4029 )
2020-08-25 23:25:00 +02:00
Tomas Votruba
c2cfdaeacd
[DX] Add MethodVisibility value object ( #4028 )
2020-08-25 21:19:12 +02:00
Tomas Votruba
4553ae9579
[DX] Add TypeMethodWrap, RemovedArgument ( #4026 )
...
Co-authored-by: rector-bot <tomas@getrector.org>
2020-08-25 21:05:58 +02:00
Tomas Votruba
44d3ec8b7a
[DX] Add MethodReturnType value object ( #4020 )
...
* re-enable rule
* add MethodReturnType value object
* drop sylius deprecated sets, as not maintained for last 2 years
2020-08-25 18:34:49 +00:00
Tomas Votruba
872f13b27d
rename to value object constants ( #4018 )
2020-08-24 22:37:12 +00:00
Tomas Votruba
c1653070f5
[phpstan] Add rule for complex config ( #4015 )
...
* [phpstan] Add ForbiddenComplexArrayConfigInSetRule
* add MethodCallRename value object
* [SymfonyPhpConfig] Add array to value object configuration rule
* apply first MethodCallRename value object
2020-08-24 22:26:14 +00:00
dobryy
2e7bdca4e2
[DX] Rename namespaces respect node type ( #3973 )
2020-08-18 17:57:30 +02:00
dobryy
a3be7e03ca
[DX] Rename namespaces of Rector rules to respect node, instead of domain ( #3911 )
2020-08-12 11:08:59 +02: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