480 Commits

Author SHA1 Message Date
Tomas Votruba
1372df4cf2 improve uuid steps 2019-10-09 11:14:14 +01:00
Tomas Votruba
0dcd2b0014 [Solid] Add UseInterfaceOverImplementationInConstructorRector 2019-10-09 01:41:51 +01:00
Tomas Votruba
f25f303dc8 [DeadCode] Add SimplifyIfElseWithSameContentRector 2019-10-08 16:53:32 +01:00
Tomáš Votruba
d19a83d755
Add FunctionCallToConstantRector (#2100)
Add FunctionCallToConstantRector
2019-10-04 22:31:54 +02:00
Jonas Elfering
8e54c1068d Split specific and generic rector 2019-10-04 21:03:27 +02:00
Jonas Elfering
7b138c7877 Add FunctionCallToConstantRector
Fixes: https://github.com/rectorphp/rector/issues/2008
2019-10-04 17:57:14 +02:00
Jonas Elfering
0196d1efee Add ShortenElseIfRector
Fixes https://github.com/rectorphp/rector/issues/1945
2019-10-04 14:18:31 +02:00
Jonas Elfering
2b97228a96 Add UseIncrementAssignRector
Fixes https://github.com/rectorphp/rector/issues/2004
2019-10-04 12:14:10 +02:00
Tomas Votruba
6a56bf2a8d [DeadCode] Add RemoveUnreachableStatementRector 2019-10-03 11:59:58 +02:00
Mark Story
8f7d50d9d7 Use contextual method rename rector in cake4 rules. 2019-09-30 21:44:39 -04:00
Tomas Votruba
6fbdf5461a [DoctrineCodeQuality] Initialize collectoins in constructor 2019-09-28 16:02:19 +02:00
Tomas Votruba
ad3dddfa2e add auto import names 2019-09-28 14:30:12 +02:00
Tomas Votruba
9ef3801b41 cleanup 2019-09-28 13:18:11 +02:00
Tomas Votruba
e4eeb19c45 [CodeQuality] Add RemoveSoleValueSprintfRector 2019-09-26 13:44:04 +02:00
Tomas Votruba
fcb865767a make RectorServiceParametersShifter report better error in case of invalid configuration 2019-09-26 13:33:31 +02:00
Tomas Votruba
e2a8659b2c fix easy-admin-bundle20 set 2019-09-26 13:26:06 +02:00
Tomas Votruba
9218288a80 [Rector] Add RemoveZeroBreakContinueRector 2019-09-26 08:07:35 +02:00
Tomáš Votruba
2c91dac625
[Php71] Add ListToArrayDestructRector (#2037)
[Php71] Add ListToArrayDestructRector
2019-09-26 07:17:23 +02:00
Tomas Votruba
f9c328af66 add function aliases to celebrity 2019-09-26 01:59:21 +02:00
Tomas Votruba
de9baae58e [Php71] Add ListToArrayDestructRector 2019-09-26 01:58:16 +02:00
Tomas Votruba
1cef7a9f78 add sizeof to count [closes #2005] 2019-09-26 01:46:11 +02:00
Tomas Votruba
8490b8c1e2 [Php53] Add DirNameFileConstantToDirConstantRector [close #2006] 2019-09-26 01:00:58 +02:00
Tomas Votruba
a18f1c3daf [CodingStyle] Add CallUserFuncCallToVariadicRector 2019-09-25 23:13:37 +02:00
Tomas Votruba
135e72d577 [CodingStyle] Add MakeInheritedMethodVisibilitySameAsParentRector 2019-09-25 22:58:41 +02:00
Tomas Votruba
4b9161aa03 [Monolog] Add 2.0 upgrade set 2019-09-25 18:54:22 +02:00
Tomas Votruba
3b151c8130 [Symfony] Add MergeMethodAnnotationToRouteAnnotationRector 2019-09-24 20:17:50 +02:00
Tomas Votruba
4fbca58523 add return type to step-3 2019-09-24 15:30:24 +02:00
Tomas Votruba
6ff6d7320a [TypeDeclaration] Add AddMethodCallBasedParamTypeRector 2019-09-24 15:13:46 +02:00
Tomas Votruba
980778d69b move SwapFuncCallArgumentsRector to Argument 2019-09-23 18:19:04 +02:00
Tomas Votruba
24ebc66747 move ReserverObjectRector to Php71 2019-09-23 18:19:04 +02:00
Tomas Votruba
8229d46b89 move RenameStaticMethodRector to Renaming package 2019-09-23 17:41:47 +02:00
Tomas Votruba
17d14ba4ac move RenameClassRector to Renaming package 2019-09-23 17:41:47 +02:00
Tomas Votruba
35dd776c36 move RenameClassConstantRector to Renaming package 2019-09-23 17:17:58 +02:00
Tomas Votruba
100ea52e7d update configs 2019-09-23 17:09:26 +02:00
Tomas Votruba
362f47a69c move RenameFunctionRector to Renaming package 2019-09-23 16:40:54 +02:00
Tomas Votruba
419da7704b [Renaming] init new package 2019-09-23 16:36:58 +02:00
Tomas Votruba
2858a9f7ea [PHP] Move tests + fixture to split package by version 2019-09-23 15:16:31 +02:00
Tomas Votruba
f558733611 [PHP] Split huge package to php by version rules 2019-09-23 13:38:51 +02:00
Tomas Votruba
3299c55229 prepare config 2019-09-22 22:01:35 +02:00
Tomas Votruba
ddba23034c [Refactoring] Add MoveAndRenameClassRector 2019-09-22 22:01:35 +02:00
ADmad
075bb0f974
Add rules for renaming CakePHP's Router methods
Refs https://github.com/cakephp/cakephp/pull/13664
2019-09-22 22:10:52 +05:30
Tomas Votruba
417ee5c749 decouple 2019-09-21 21:18:24 +02:00
Tomas Votruba
d727b0181e [Doctrine] Add ChangeIdenticalUuidToEqualsMethodCallRector 2019-09-21 19:44:34 +02:00
Tomas Votruba
8993b6bc14 [Doctrine] Add ChangeReturnTypeOfClassMethodWithGetIdRector 2019-09-21 17:41:40 +02:00
Tomas Votruba
fabbfacd1a [Doctrine] Add GetUuidMethodCall to GetId 2019-09-21 16:27:10 +02:00
Tomas Votruba
8e93626e32 [Doctrine] Add ChangeSetIdToUuidValueRector 2019-09-21 12:46:01 +02:00
Tomas Votruba
6c35b3af43 [Doctrine] init step 2 uuid 2019-09-20 10:14:49 +02:00
Tomas Votruba
0a20938c72 add CustomIdGenerator 2019-09-19 20:02:00 +02:00
Tomas Votruba
ce332b4e65 add AbstractFileSystemRectorTestCase + test 2019-09-15 18:07:16 +02:00
Tomas Votruba
e0d67e2268 add config 2019-09-13 10:52:34 +02:00