329 Commits

Author SHA1 Message Date
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