Commit Graph

2041 Commits

Author SHA1 Message Date
Tomas Votruba
6e1099f82d complete Doctrine and Kdyby migrations to nette-to-symfony set 2019-02-22 15:10:55 +01:00
Tomas Votruba
5ba6417aec [DeadCode] Add RemoveCodeAfterReturnRector 2019-02-20 15:02:07 +01:00
Tomas Votruba
c105f3b7ae [CodeQuality] Add UseIdenticalOverEqualWithSameTypeRector 2019-02-20 14:33:50 +01:00
Tomáš Votruba
c6ca92d97e
Merge pull request #1077 from rectorphp/spageti
Add Spageti note
2019-02-20 05:29:59 -08:00
Tomas Votruba
a88ff23103 remove old rector name from config 2019-02-20 13:53:14 +01:00
Tomas Votruba
0b31eebd0c [PHP] Add ContinueToBreakInSwitchRector 2019-02-20 12:36:58 +01:00
Tomas Votruba
2c93adc0d9 [PHP] RemoveReferenceFromCallRector 2019-02-20 01:04:27 +01:00
Tomas Votruba
724087521c [CodeQuality] Add CommonNotEqualRector 2019-02-19 18:26:22 +01:00
Tomáš Votruba
4ea85ae44a
Merge pull request #1072 from rectorphp/mysqli
[PHP Mysql to Mysqli] Add ConstantReplacerRector
2019-02-19 08:15:08 -08:00
Tomas Votruba
2b88b06dd4 add mktime deprecation 2019-02-19 17:12:33 +01:00
Tomas Votruba
59bba92f5c add define test [closes #1068] 2019-02-19 16:52:08 +01:00
Tomas Votruba
9fdf6c9336 Add SwapFuncCallArgumentsRector 2019-02-19 16:52:08 +01:00
Tomas Votruba
683cb08846 add MysqlPConnectToMysqliConnectRector 2019-02-19 16:52:07 +01:00
Tomas Votruba
1780e9b44b move mysql-to-mysqli migration to own package 2019-02-19 16:05:34 +01:00
Tomas Votruba
d7038ec3e2 Add ConstantReplacerRector 2019-02-19 15:53:31 +01:00
Tomas Votruba
52608c5575 [PHP 5.2] Add var to public property 2019-02-19 08:22:45 +01:00
Tomas Votruba
3a2a754c2a [DeadCode] Add RemoveUnusedPrivateMethodRector 2019-02-18 20:30:28 +01:00
Tomas Votruba
1e8443b4ab [DeadCode] Add RemoveUnusedPrivateConstantRector 2019-02-18 18:46:36 +01:00
Tomas Votruba
2bdbbe0527 [DeadCode] Add RemoveOverridenValuesRector 2019-02-18 17:02:57 +01:00
Tomas Votruba
8515839d8f [CodeQuality] Add ExplicitBoolCompareRector 2019-02-18 00:23:57 +01:00
Tomas Votruba
64a901fa40 split configs to more 2019-02-17 02:24:38 +01:00
Tomas Votruba
f94ddfcd5f [CodeQuality] Add SimplifyIfIssetToNullCoalescingRector 2019-02-17 02:13:29 +01:00
Tomas Votruba
5a801624dc [NTS] Add trans() param wrapper 2019-02-17 01:24:39 +01:00
Tomas Votruba
9a17cb95be fix CakePHP 3.4 with config method 2019-02-17 00:48:27 +01:00
Tomas Votruba
4c67d7d6f9 fix symfony42 config 2019-02-16 13:10:48 +01:00
Tomas Votruba
75cb2b35c4 move level config to autodiscovery path 2019-02-09 14:14:29 +01:00
Tomas Votruba
2b78108558 [PHPUnit] Add __construct type removal [closes #1024] 2019-02-07 19:17:25 +01:00
Tomas Votruba
afc174fa80 rename ReturnTypehintRector to AddReturnTypeDeclarationRector 2019-02-04 15:50:53 +01:00
Tomas Votruba
f2c948170b add PHPUnit 8 void return types 2019-02-03 23:32:02 +01:00
Tomas Votruba
0db2b07d49 rename *.yml to *.yaml 2019-02-03 18:46:45 +01:00
Tomas Votruba
85f698b71c move config to /config dir 2019-02-03 18:30:33 +01:00
Tomas Votruba
cecd62864f remove TrailingCommaArgumentsRector, let that to token cs 2019-01-25 17:01:13 +01:00
Tomas Votruba
bd8b5cdb75 add NullCoalescingOperatorRector to PHP 7.4 [skip ci] 2019-01-22 21:43:03 +01:00
Tomas Votruba
607da366aa fix ClassReplacerRector for class to interface rename [closes #950] 2019-01-14 12:46:19 +01:00
Tomas Votruba
c18a542485 [PHP] Add RealToFloatTypeCastRector 2019-01-12 20:37:08 +01:00
Tomas Votruba
dc9532abae add ConsecutiveNullCompareReturnsToNullCoalesceQueueRector 2019-01-10 21:08:38 +01:00
Tomas Votruba
bb8652a9b0 remove NullCoalescingOperatorRector - not part of PHP itself 2019-01-08 18:56:43 +01:00
Tomas Votruba
e6a5f55f94 drop ArrayToYieldDataProviderRector instead, update docs 2019-01-03 17:39:25 +01:00
Tomas Votruba
7f50b8b5a6 Add ReturnArrayClassMethodToYieldRector 2019-01-03 17:39:25 +01:00
Tomas Votruba
ca1588309b Add YieldClassMethodToArrayClassMethodRector 2019-01-03 17:39:25 +01:00
Tomas Votruba
af1825f4de [CodeQuality] Add JoinStringConcatRector 2019-01-03 14:03:27 +01:00
Tomas Votruba
3414bd925e [CodingStyle] Add RemoveUnusedAliasRector 2019-01-02 20:22:58 +01:00
Tomas Votruba
38faba727a [CodingStyle] Add SetTypeToCastRector 2019-01-02 17:02:47 +01:00
Tomas Votruba
c5e9428490 [PHPUnit] Add UseSpecificWillMethodRector 2018-12-31 22:07:12 +01:00
Tomas Votruba
fa1263b7c8 add missing rectors to mysql_to_myslqi 2018-12-31 18:47:30 +01:00
Tomas Votruba
f0be517a16 [PHP] Add ThisCallOnStaticMethodToStaticCallRector 2018-12-31 18:47:30 +01:00
Tomas Votruba
dd5956bd9d [PHP] Add StaticCallOnNonStaticToInstanceCallRector 2018-12-31 18:28:12 +01:00
Tomas Votruba
d1b5b9743a [PHP 7.3] Add IfToSpaceshipRector 2018-12-31 17:46:34 +01:00
Tomas Votruba
e89a0c1b4d [CodeQuality] Add SimplifyIfElseToTernaryRector 2018-12-31 12:52:52 +01:00
Tomas Votruba
823c3c076b [CodeQuality] Add SingleInArrayToCompareRector [closes #858] 2018-12-31 12:22:21 +01:00
Tomas Votruba
d55cd61803 [PHP 7.4] Add MbStrrposEncodingArgumentPositionRector 2018-12-31 10:47:08 +01:00
Tomas Votruba
4b1ab008ef [Php 7.4] Add GetCalledClassToStaticClassRector 2018-12-31 10:25:07 +01:00
Tomas Votruba
d080786248 [PHP 7.4] Add ClassConstantToSelfClassRector 2018-12-31 01:55:45 +01:00
Tomas Votruba
218f4c2a50 [PHP 7.4] Add ExportToReflectionFunctionRector 2018-12-31 01:42:02 +01:00
Tomas Votruba
d016738087 [PHP 7.4] Add FilterVarToAddSlashesRector 2018-12-31 01:35:24 +01:00
Tomas Votruba
2cf31cfd81 [PHP 7.4] Add ArrayKeyExistsOnPropertyRector 2018-12-31 01:25:18 +01:00
Tomas Votruba
41b0a2601f [PHP 7.4] Add function deprecations 2018-12-31 01:25:18 +01:00
Tomas Votruba
00e25abb89 [CodeQuality] Add SimplifyForeachToArrayFilterRector 2018-12-28 18:03:15 +01:00
Tomas Votruba
80e7546aae move SimplifyMirrorAssignRector to DaedCode 2018-12-28 15:52:59 +01:00
Tomas Votruba
c03b1b1fb3 [DeadCode] Add RemoveUnusedParameterRector 2018-12-25 22:31:48 +01:00
Tomas Votruba
a62c36d319 [DeadCode] Add RemoveDoubleAssignRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
280d2bbc6d add PHP 7.3 deprecation references 2018-12-25 20:44:12 +01:00
Tomas Votruba
1c093821a3 [CodeQuality] Add SimplifyTautologyTernaryRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
f238f2a310 [DeadCode] Add RemoveUnusedPrivatePropertyRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
e696d65e2d [DeadCode] Add RemoveEmptyClassMethodRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
ae7b463d3d [DeadCode] Add RemoveParentCallWithoutParentRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
7a2bb9148a [DeadCode] Add RemoveUnusedForeachKeyRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
b09976b828 [DeadCode] Add RemoveDuplicatedArrayKeyRector 2018-12-25 20:44:12 +01:00
Tomas Votruba
26b83be1f7 [CodingStyle] Add CompleteVarDocTypeConstantRector 2018-12-22 15:22:44 +01:00
Tomas Votruba
421b307965 rename *ScalarTypehint to *TypeDeclaration 2018-12-22 12:32:32 +01:00
Tomas Votruba
9cb3484b36 add EasyAdminBundle 2.0 level 2018-12-18 18:59:32 +01:00
Tomas Votruba
71ab6b5599 Add DeMorgan simplify Rector + update create command process 2018-12-16 22:37:30 +01:00
Tomas Votruba
caea1ec029 Add LogicalOrToBooleanorRector [closes #792] 2018-12-16 22:13:26 +01:00
Tomas Votruba
558fa593c3 Add RegexDashEscapeRector 2018-12-16 15:22:46 +01:00
Tomas Votruba
62dd290641 apply code-quality level 2018-12-15 21:08:00 +01:00
Tomas Votruba
2f92e5e111 add FunctionLikeNodeCollector, improve RemoveExtraParametersRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
3376254f77 Add CreateFunctionToAnonymousFunctionRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
7ed7368dac add TernaryToElvisRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
daa8f01688 Add StringsAssertNakedRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
8b43393e6a Add TernaryToSpaceshipRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
e7e01659ef Add ParseStrWithResultArgumentRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
f3398e3acb Add ReduceMultipleDefaultSwitchRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
8d783a68bd Add RemoveExtraParametersRector 2018-12-15 21:07:05 +01:00
Tomas Votruba
cac89cbb9a add NullCoalescingOperatorRector 2018-12-14 22:45:07 +01:00
Tomas Votruba
f4e883f6f2 add IsObjectOnIncompleteClassRector 2018-12-14 22:31:21 +01:00
Tomas Votruba
321bc830f4 add GetClassOnNullRector 2018-12-14 22:17:56 +01:00
Tomas Votruba
3709a432ff add PHP 72 note 2018-12-14 21:03:30 +01:00
Tomas Votruba
665e58a7fa keep visually similar lines in SimplifyUselessVariableRector 2018-12-13 22:07:27 +01:00
Tomas Votruba
d376e90319 add Mysql to Mysqli set 2018-12-13 12:16:39 +01:00
Tomas Votruba
a43986832f update CakePHP 3.7 set [closes #830] 2018-12-13 01:11:14 +01:00
Tomas Votruba
2e3634f4ae add WrapReturnRector 2018-12-12 20:41:00 +01:00
Tomas Votruba
925b046f0c update Symfony 4.2 and Symfony 4.1 sets 2018-12-12 20:41:00 +01:00
Tomas Votruba
04626f4e5d add TybleStyle changes in Symfony 4 2018-12-12 18:48:58 +01:00
Tomas Votruba
4915ab1f20 use AbstractController over Controller in FrameworkBundle 2018-12-12 16:58:47 +01:00
Tomas Votruba
45248dee04 Add AssertEqualsParameterToSpecificMethodsTypeRector 2018-12-11 13:02:28 +01:00
Tomas Votruba
ef2e74a2ac add Mock class rename 2018-12-10 16:01:14 +01:00
Tomas Votruba
a59e35678c Add SpecificAssertInternalTypeRector 2018-12-10 16:01:14 +01:00
Tomas Votruba
5c7b3cdb7a make code-quality level explicit to improve overview of all Rectors + now automated with create command 2018-12-09 22:18:33 +01:00
Sullivan SENECHAL
35714c5df4
Fix doctrine rule file name 2018-12-07 11:46:01 +01:00
Tomas Votruba
68b7076fd0 remove YamlRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-06 01:13:36 +01:00
Tomas Votruba
de83b97c8d fix PHPStormVarAnnotationRector namespace [closes #814]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-05 18:35:34 +01:00
Tomas Votruba
9faa7fbd4b [PHP] Add *ScalarTypehintRector + *TypeInfo
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-01 15:55:46 +01:00
Tomas Votruba
296d3a32e4 Make PseudoNamespaceToNamespaceRector config consistent with rest of Rectors [closes #781]
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-01 13:15:17 +01:00
Tomas Votruba
e0a399eefc [PHPStan] Add PHPStormVarAnnotationRector 2018-11-17 01:20:21 +02:00
Tomas Votruba
dabf8bac49 [PHPStan] Add RecastingRemovalRector 2018-11-08 13:52:02 +01:00
Tomas Votruba
c3558f65c4 [CodingStyle] Add NullableCompareToNullRector + add NodeFactoryTrait + cleanup 2018-11-03 18:01:19 +01:00
Tomas Votruba
d7692953a4 php72 - fix Rector name 2018-11-03 00:29:56 +01:00
Tomas Votruba
37c1301c5e [Symfony] Add RootNodeTreeBuilderRector 2018-11-02 16:43:06 +01:00
Tomas Votruba
c4aa54142f [Symfony] Add ArrayArgumentProcessRector 2018-11-02 10:31:09 +01:00
Tomas Votruba
023522acf2 Make StaticCallToFunctionRector configuration consistent with type as key 2018-10-31 20:57:26 +01:00
Joseph Frazer
e410dcf6a6
use correct rector name
The rector name is actually for a method, not a function.
2018-10-30 15:34:04 -04:00
Tomas Votruba
bc0406e763 fix incorrect WhileEachToForeachRector service name in lvl php72 [closes #742] 2018-10-30 18:45:32 +01:00
Tomas Votruba
7b669d89ba [Doctrine] Make ReplaceParentRepositoryCallsByRepositoryPropertyRector 2018-10-28 17:50:10 +01:00
Tomas Votruba
e4ebea3ae8 add method rename 2018-10-27 16:03:14 +02:00
Tomas Votruba
3ff47f7847 [Guzzle] Add MessageAsArrayRector [closes #557] 2018-10-27 16:03:14 +02:00
Tomas Votruba
075707447a [Symfony] Add FormTypeInstanceToClassConstRector 2018-10-24 12:06:35 +02:00
Tomas Votruba
a9ce1c8e4c Add ArrayAnalyzer and CascadeValidationFormBuilderRector 2018-10-22 14:12:53 +02:00
Tomas Votruba
f823f2a50c [Arguments] Refactor to constistent config 2018-10-22 00:16:41 +02:00
Tomas Votruba
ade5c0145d add to symfony30 set 2018-10-21 19:19:15 +02:00
Tomas Votruba
486f7f4b64 [PHPUnit] Add SimplifyForeachInstanceOfRector 2018-10-21 13:17:20 +02:00
Tomas Votruba
9de4468d31 [PHP] Add function renames 2018-10-18 17:29:17 +02:00
Tomas Votruba
0f6c024e8b misc 2018-10-17 19:47:09 +02:00
Tomas Votruba
6daa618ab3 [PHP] Add TrailingCommaArgumentsRector 2018-10-17 10:29:27 +02:00
Tomas Votruba
4faa1425c8 [PHP] Add BarewordStringRector 2018-10-17 10:16:32 +02:00
Tomas Votruba
bdc72fe7be [PHP] Add JsonThrowOnErrorRector 2018-10-17 10:13:04 +02:00
Tomas Votruba
379ea93553 [PHP] Add StringifyStrNeedlesRector 2018-10-17 10:12:06 +02:00
Tomas Votruba
a9cb8ece58 add mbereg → mb_ereg function renames 2018-10-17 09:53:42 +02:00
Tomas Votruba
5de35b9706 [PHP] Add SensitiveHereNowDocRector 2018-10-17 09:53:42 +02:00
Tomas Votruba
e2d68961f6 [PHP] Add UnsetCastRector 2018-10-17 09:47:47 +02:00
Tomas Votruba
dbdf0b82cf Add autoregistration of code-quality services to make level up-to-date 2018-10-16 20:47:08 +08:00
Tomas Votruba
66b8c86d72 add CakePHP 3.7 set [closes #687] 2018-10-15 10:34:38 +08:00
Gabriel Caruso
c128c0bbf4
[CodeQuality] Add missing rectors
These new Rector were added in #684, #682, #681, #677 and #676
2018-10-14 16:44:32 -03:00
Adrien Brault
420f2bf1f6
Fix guzzle50.yml syntax error
Unexpected characters (: 'getPath']) at line 18 (near "'GuzzleHttp\\get_path': ['GuzzleHttp\\Utils': 'getPath']").
2018-10-14 18:19:08 +02:00
Gabriel Caruso
ad3df19eb0
Create SimplifyConditionsRector 2018-10-12 20:12:47 -03:00
Tomas Votruba
b012597fa8 [PHP] Add constant sensitive Rectors 2018-10-12 13:03:37 +08:00
Tomas Votruba
2b2049c923 [PHP] Add ArrayKeyFirstLastRector 2018-10-11 14:17:41 +08:00
Tomas Votruba
1035b04658 [PHP] Add CountOnNullRector 2018-10-10 22:52:34 +08:00
Tomas Votruba
ebd9998b78 [PHP] Add AssignArrayToStringRector 2018-10-10 13:42:51 +08:00
Tomas Votruba
658cef5fc2 [PHP] Add MultiExceptionCatchRector 2018-10-08 12:52:26 +08:00
Tomas Votruba
ecbf96a9ed [PHP] Add CallUserMethodRector 2018-10-07 22:03:32 +08:00
Tomas Votruba
e179df133b [PHP] Add ListSwapArrayOrderRector 2018-10-07 21:39:36 +08:00
Tomas Votruba
4fd1e19113 [PHP] Add ListSplitStringRector 2018-10-07 19:56:07 +08:00
Tomas Votruba
d1439079cb [PHP] Add Each Rectors 2018-10-07 17:10:40 +08:00
Tomas Votruba
3660362e32 apply simple config on levels 2018-10-06 09:26:35 +08:00
Tomas Votruba
2ffb04a229 [PHP] Add ReservedObjectRector 2018-10-06 00:18:55 +08:00
Tomas Votruba
9b5a6fb6e0 [PHP] Add MultiDirnameRector 2018-10-05 22:15:11 +08:00
Tomas Votruba
6d6642961e update php sets 2018-10-05 19:04:16 +08:00
Tomas Votruba
2a1fffc443 add PHP Rectors to own groups 2018-10-05 17:05:03 +08:00
Tomas Votruba
8242cde87b add NoExtraBlankLinesFixer to php70 set 2018-10-04 23:39:55 +08:00
Tomas Votruba
02d2ba69e3 [PHP] Add NullCoalesceRector 2018-10-04 23:09:30 +08:00
Tomas Votruba
39b5c0826f [PHP] Add pow to exp Rector [ref #638] 2018-10-04 16:21:56 +08:00
Tomas Votruba
9e9f5e796f init IsIterableRector [ref #638] 2018-10-04 15:59:30 +08:00
Tomas Votruba
2812c30ee9 [PHP] Exception handler typehint 2018-10-04 00:24:47 +08:00
Tomas Votruba
070cfe310e [PHP] Add PHP 7.4 Type Property Rector [ref #638] 2018-09-30 23:10:44 +08:00
Tomas Votruba
24026b14ac update CakePHP 3.5 set 2018-09-27 00:36:32 +08:00
Tomas Votruba
81d1697d14 init NormalToFluentRector 2018-09-26 19:34:51 +08:00
Tomas Votruba
2b3c3b60d9 extend cakephp34 level 2018-09-26 19:34:03 +08:00
Tomas Votruba
e4630108ed add method renames 2018-09-26 19:34:03 +08:00
Tomas Votruba
44f25ea3f1 prepare config 2018-09-26 19:34:03 +08:00
Tomas Votruba
bff2dfb805 Make PropertyToMethodRector work with getter with arg 2018-09-21 07:50:14 +02:00
Tomas Votruba
2aa010dca6 comment 2018-08-29 19:21:13 +02:00
Tomas Votruba
8e88fd24b1 extends SimpleFunctionRector to SimpleFilter as well 2018-08-29 16:05:12 +02:00
Tomas Votruba
2de84e72d5 add twig127 level 2018-08-29 15:27:31 +02:00
Tomas Votruba
d22d0fe1dd add twig20 set 2018-08-29 14:59:00 +02:00
Tomas Votruba
edb7c44483 add twig112 set 2018-08-29 14:52:27 +02:00
Tomas Votruba
e56dc665fe [Twig] Add SimpleFunctionRector [closes #599] 2018-08-29 14:42:26 +02:00
Tomas Votruba
ae994a0efd [Symfony] Add ParseFileRector [closes #600] 2018-08-28 18:27:13 +02:00
Tomas Votruba
6a9ca3dee8 [Namespace] Fix arguments of PseudoNamespaceToNamespaceRector 2018-08-21 18:09:39 +02:00
Tomas Votruba
8ebbae5658 add fluent removal to guzzle50.yml 2018-08-13 11:54:31 +02:00
Tomas Votruba
02bb8f4934 add rules to silverstripe set 2018-08-12 20:23:39 +02:00
Tomas Votruba
cdaa7d33be [Silverstripe] Add DefineConstantToStaticCallRector [ref #535] 2018-08-12 14:59:32 +02:00
Tomas Votruba
799991aa3d update guzzle50 set 2018-08-11 12:24:13 +02:00
Tomas Votruba
e398014a97 add guzzle50 init set 2018-08-11 11:57:24 +02:00
Tomas Votruba
c364ee0b2d update docs 2018-08-11 10:42:40 +02:00
Tomas Votruba
583a8b5ef3 drop laravel-to-symfony level, too poor to be useful 2018-08-06 12:35:26 +02:00
Tomas Votruba
2ab86cb9fb more namespace related fixes 2018-08-03 09:17:19 +02:00
Tomas Votruba
e74e11beb4 config: use new Rector namespaces 2018-08-03 09:12:54 +02:00
Tomas Votruba
f44c458eeb cleanup docs 2018-08-01 22:29:01 +02:00
Tomas Votruba
c1aae6d7da misc 2018-08-01 22:13:59 +02:00
Tomas Votruba
c312ecc2d3 move Dynamic Rectors to its own namespaces 2018-08-01 22:08:08 +02:00
Tomas Votruba
be8e578fa7 move Dynamic Rectors to its own namespaces 2018-08-01 21:31:17 +02:00
Tomas Votruba
221113a712 Add --all optino to DescribeCommand instead of fake and invalid config 2018-07-31 23:42:45 +02:00
Tomas Votruba
4553194286 cleanup 2018-07-23 18:40:19 +02:00
Tomas Votruba
47d80968f8 try config without local binding 2018-07-23 18:31:38 +02:00
Tomas Votruba
298da35ea7 [config] unite config name to singular 2018-07-23 17:28:34 +02:00
Tomas Votruba
3e46ab4246 add symfony41 level 2018-07-19 01:11:39 +02:00
Tomas Votruba
3e124e3d2b [Symfony] Add use_strict_mode removal 2018-07-18 22:08:57 +02:00
Tomas Votruba
fa878f0af7 add more cases 2018-07-18 21:25:27 +02:00
Tomas Votruba
0d6732c794 [Symfony] Add SpaceBetweenKeyAndValueYamlRector 2018-07-18 20:43:18 +02:00
Tomas Votruba
c4c0b094af add dump() case as well 2018-07-18 16:16:16 +02:00
Tomas Votruba
9aa4915838 configure symfony31 set 2018-07-18 16:16:16 +02:00
Tomas Votruba
5eaa2c4eff Change replacement to before / after options in ArgumentDefaultValueReplacerRecipe to allow array keys 2018-07-18 16:16:16 +02:00
Tomas Votruba
c31a5acec8 Add Yaml parse 2nd argument replacement 2018-07-18 16:16:16 +02:00
Tomas Votruba
fc370983ab split symfony31 2018-07-17 22:56:34 +02:00
Tomas Votruba
f2cea259d2 Add Yaml::parse(, Yaml::PARSE_KEYS_AS_STRINGS) case 2018-07-17 22:48:31 +02:00
Tomas Votruba
8122ae6f17 Add !str 2018-07-17 22:10:42 +02:00
Tomas Votruba
c58bcca915 [YamlRector] add php/object case 2018-07-17 22:08:36 +02:00
Tomas Votruba
910b26a577 [YamlRector] Add ReplaceStringYamlRector 2018-07-17 21:56:30 +02:00
Tomas Votruba
323963d07c update Symfony 30 config 2018-06-28 16:23:33 +02:00
Tomas Votruba
ac4cd9c98d narrow focus to packages with 10 M+ downloads [closes #495] 2018-06-09 02:10:21 +02:00
Tomas Votruba
3ccf1bcb56 drop nette rules 2018-06-06 14:52:24 +02:00
Tomas Votruba
d4edb5e18e drop nette23 level 2018-06-06 13:58:39 +02:00
Tomas Votruba
2f1e6719be make SetInjectToAddTagRector generic 2018-06-06 13:52:48 +02:00
Tomas Votruba
031ba3d21e drop nette20, nette21 levels 2018-06-06 11:34:58 +02:00
Tomas Votruba
efe9aab684 move ArrayToYieldDataProvider to PHPUnit group 2018-06-02 16:28:34 +02:00
Tomas Votruba
4561a1a233 move CodeQuality to root Rector 2018-06-02 13:46:23 +02:00
Tomas Votruba
336ffdd7d7 move PhpParser Rectors to own package 2018-06-02 13:39:01 +02:00
Tomas Votruba
1202dae5e3 move PHPUnit Rectors to own package 2018-06-02 13:29:48 +02:00
Tomas Votruba
1cfa87c73a move Sylius Rectors to own package 2018-06-02 13:15:01 +02:00
Tomas Votruba
e52df0d128 move Nette Rectors to own package 2018-06-02 13:06:44 +02:00
Tomas Votruba
a0ccfe6d1a move Sensio Rectors to own package 2018-06-02 12:44:43 +02:00
Tomas Votruba
7e9bfa3ed3 move Symfony Rector to own package 2018-06-02 12:39:43 +02:00
Tomas Votruba
1b6a77486f drop better-reflection20 level, not really useful 2018-05-31 19:51:20 +02:00
Tomas Votruba
e409490e4d [DoctrineRepositoryAsService] decouple dependency on specific class 2018-05-31 19:47:56 +02:00
Gabriel Caruso
6950973d48
[CodeQuality] Create UnnecessaryTernaryExpressionRector 2018-05-13 14:17:15 -03:00
Tomáš Votruba
7dde83880d
Merge pull request #458 from rectorphp/action-inject-to-constructor
Add Action inject to constructor Rector
2018-05-05 16:21:45 +01:00
Tomas Votruba
fcf2bf6337 space 2018-05-05 13:48:29 +01:00
Tomas Votruba
ade19f6a7d add ReplaceVariableByPropertyFetchRector 2018-05-05 13:39:39 +01:00
Tomas Votruba
a15c177a73 ActionInjectionToConstructorInjectionRector prototype 2018-05-05 10:33:11 +01:00
Tomas Votruba
30613aaac1 cleanup cases out of ArgumentRector scope 2018-05-05 01:04:16 +01:00
Tomas Votruba
26e649cf1d add 2 Argument rules to sylius10.yml 2018-05-05 01:03:04 +01:00
Tomas Votruba
6642ef8af9 ArgumentAdderRector: rename 'replacement' to 'default_value' 2018-05-05 01:03:04 +01:00
mssimi
4965127652 split argument rector into:
ArgumentAdderRector
ArgumentDefaultValueReplacerRector
ArgumentRemoverRector
2018-05-01 19:31:41 +02:00
mssimi
1b39e32b2d simplify argument rector 2018-04-30 10:34:01 +02:00
Tomas Votruba
c21b76cd90 fix syntax errors in levels 2018-04-29 11:16:51 +02:00
Tomas Votruba
ed69b44b2b add all.yml level, also for full describe command output 2018-04-29 11:16:51 +02:00
mssimi
d14894cd40 rename ArgumentReplacerRector to ArgumentRector as it is now general 2018-04-28 15:47:26 +02:00
Tomas Votruba
4fae7b2bc8 config: remove already registered service, also typoed 2018-04-27 13:45:58 +02:00
Tomas Votruba
0589f12fdf fix sylius level paths 2018-04-27 10:49:09 +02:00
Tomas Votruba
cd03b803d6 rename EntityForDoctrineRepositoryProvider* to DoctrineEntityAndRepositoryMapper* 2018-04-26 23:33:46 +02:00
Tomas Votruba
d28c160654 add DefaultEntityForDoctrineRepositoryProvider 2018-04-26 23:33:07 +02:00
Tomas Votruba
2270282f79 remove RectorBuilder 2018-04-26 14:23:21 +02:00
Gabriel Caruso
d2a06f2e06
[CodeQuality] Create InArrayAndArrayKeysToArrayKeyExistsRector 2018-04-22 13:46:09 -03:00
Tomas Votruba
8b612905b9 add phpunit.yml for architecture 2018-04-13 20:29:35 +02:00
Gabriel Caruso
97d10095c9
[PHPUnit] Create AssertRegExpRector 2018-04-11 01:31:23 -03:00
mssimi
44e41986a7 service locator to DI class constant 2018-04-09 16:20:48 +02:00
mssimi
e1735f43d4 added failing test 2018-04-09 16:20:47 +02:00
Tomas Votruba
a89860e631 drop CompilerAddPassPriorityRector, still optional 2018-04-08 17:26:59 +02:00
Tomas Votruba
2f2dfbf0d0 drop CompilerGenerateCodeArgumentsRector, CompilerCompileArgumentsRector - rare cases 2018-04-08 17:26:59 +02:00
Gabriel Caruso
6baf5ee193
[PHPUnit] Add AssertNotOperatorRector 2018-03-25 07:00:32 -03:00
Gabriel Caruso
94c1cc1f43
Move config/levels to root level 2018-03-19 13:54:31 -03:00