1573 Commits

Author SHA1 Message Date
Tomas Votruba
44ed981c56 create DeadCode package 2018-12-25 12:38:07 +01:00
Tomas Votruba
2178625375 fix command name in travis 2018-12-25 02:11:24 +01:00
Tomas Votruba
689155cec2 use ContributorCommandInterface instead of explicit command checks 2018-12-23 18:12:32 +01:00
Tomas Votruba
e3ffb69230 move GenerateRectorOverview to GenerateDocs in ContributorTools 2018-12-23 18:12:32 +01:00
Tomas Votruba
530b2f1310 Add CallableCollectorPopulator 2018-12-23 18:03:37 +01:00
Tomas Votruba
d9c6fcf96d add typed array support + callable 2018-12-23 16:00:05 +01:00
Tomas Votruba
80ee432f35 add support for union types to CompleteVarDocTypePropertyRector 2018-12-23 12:07:04 +01:00
Tomas Votruba
a0e4f65e3e fix TypePropertyRector not to remove @var docs, cs should to that [closes #886] 2018-12-22 15:31:55 +01:00
Tomas Votruba
26b83be1f7 [CodingStyle] Add CompleteVarDocTypeConstantRector 2018-12-22 15:22:44 +01:00
Tomas Votruba
48cb147db4 Add CompleteVarDocTypePropertyRector 2018-12-22 15:20:55 +01:00
Tomas Votruba
421b307965 rename *ScalarTypehint to *TypeDeclaration 2018-12-22 12:32:32 +01:00
Tomas Votruba
96314495df add static type analysis to type declaration complete 2018-12-22 12:05:09 +01:00
Tomas Votruba
67647fd16e add external variadic fix + detect root function name only 2018-12-21 20:14:09 +01:00
Tomas Votruba
e3a860fc46 fix CountOnNullRector for array default property 2018-12-21 18:42:14 +01:00
Tomas Votruba
d7d6372551 do not reflect non-existing function 2018-12-21 15:26:11 +01:00
Tomas Votruba
a8ff362447 fix non-local trait 2018-12-20 21:07:20 +01:00
Tomas Votruba
aa9f7845ba fix PHP4 constructor for expr 2018-12-20 20:59:34 +01:00
Tomas Votruba
9f97544c1d check existing method 2018-12-20 20:51:55 +01:00
Tomas Votruba
8e345870cd fix PHP4ConstructorRector 2018-12-20 20:39:13 +01:00
Tomas Votruba
2c6509279f fix PHP4ConstructorRector 2018-12-20 20:33:05 +01:00
Tomas Votruba
aeb89aa464 fix printing of empty array 2018-12-20 20:05:59 +01:00
Tomas Votruba
c31dcb18a0 add few create_function cases 2018-12-18 01:02:24 +01:00
Tomas Votruba
65764c4eec shorten indent on test file list 2018-12-17 01:28:51 +01:00
Tomas Votruba
9d8be88d2f fix printer to keep '(param): ReturnType' spacing 2018-12-17 01:27:38 +01:00
Tomas Votruba
17c441b833 cleanup 2018-12-17 00:00:16 +01:00
Tomáš Votruba
08f13b0b54
Merge pull request #824 from rectorphp/inverse
[CodeQuality] Add SimplifyDeMorganBinaryRector
2018-12-16 22:45:32 +01:00
Tomas Votruba
71ab6b5599 Add DeMorgan simplify Rector + update create command process 2018-12-16 22:37:30 +01:00
Tomas Votruba
bb54cd89b2 add more binary cases 2018-12-16 22:30:12 +01:00
Tomas Votruba
b22b3e65e6 add bool and non-bool non-binary cases to UnnecessaryTernaryExpressionRector 2018-12-16 22:30:12 +01:00
Tomas Votruba
8999b05bc5 add value binary 2018-12-16 22:30:12 +01:00
Tomas Votruba
caea1ec029 Add LogicalOrToBooleanorRector [closes #792] 2018-12-16 22:13:26 +01:00
Tomas Votruba
15d8b9105a simplify pattern to left and right handed 2018-12-16 21:56:54 +01:00
Tomas Votruba
69622aa7dd add regex constant definition 2018-12-16 16:38:57 +01:00
Tomas Votruba
740d0cc820 add previous variable definition 2018-12-16 15:22:46 +01:00
Tomas Votruba
3f8c9431ea sort methods by their call 2018-12-16 15:22:46 +01:00
Tomas Votruba
558fa593c3 Add RegexDashEscapeRector 2018-12-16 15:22:46 +01:00
Tomas Votruba
3ce2e41a03 remove unused configs 2018-12-16 02:39:26 +01:00
Tomas Votruba
605419a0d4 improve CreateFunctionToAnonymousFunctionRector 2018-12-16 02:05:31 +01:00
Tomas Votruba
6ed11cc2ef improve SimplifyForeachToCoalescingRector 2018-12-15 21:31:14 +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
8f57b231ba add getValue(), isValue() and areValues() to AbstractRector 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