4089 Commits

Author SHA1 Message Date
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
v0.3.27
2018-12-16 22:45:32 +01:00
Tomáš Votruba
8fe483e5cc
Merge pull request #838 from rectorphp/simplify-bools
Improve CodeQuality for Binary conditions
2018-12-16 22:44:08 +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
Tomáš Votruba
0b5cf22d0b
Merge pull request #848 from rectorphp/or
Add LogicalOrToBooleanorRector [closes #792]
2018-12-16 22:29:49 +01:00
Tomas Votruba
caea1ec029 Add LogicalOrToBooleanorRector [closes #792] 2018-12-16 22:13:26 +01:00
Tomáš Votruba
3cc264690e
Merge pull request #847 from rectorphp/php73-regex-regression
[PHP 7.3] Add RegexDashEscapeRector
2018-12-16 22:12:38 +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
Tomáš Votruba
c94f3208c0
Merge pull request #842 from rectorphp/php-misc
Add 10 new rectors to PHP 5.3-7.4 upgrade sets
v0.3.26
2018-12-16 02:05:48 +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
Tomas Votruba
f4e883f6f2 add IsObjectOnIncompleteClassRector 2018-12-14 22:31:21 +01:00
Tomas Votruba
b18a98f6f9 simplify NodeTypeAnalyzer 2018-12-14 22:17:56 +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
e40dd5a962 clean 2018-12-14 20:52:16 +01:00
Tomas Votruba
adfc57b89e fix typo, add config 2018-12-14 20:38:47 +01:00
Tomas Votruba
3addd754da update docs 2018-12-14 20:35:35 +01:00
Tomas Votruba
2b29db0839 rename ValueObjectRemover*Rector to more propper ObjectToScalar*Rector 2018-12-14 20:34:40 +01:00
Tomas Votruba
c10a32a67b remove unreported errors 2018-12-14 20:26:29 +01:00
Tomas Votruba
395e738a11 export-ignore rector.yml 2018-12-14 20:25:16 +01:00
Tomáš Votruba
6e8fcd3764
Merge pull request #841 from rectorphp/array-yield-transform
add transformArrayToYields() and transformYieldsToArray() methods to NodeTransformer
2018-12-14 20:20:54 +01:00
Tomas Votruba
3fd5984010 add transformArrayToYields() and transformYieldsToArray() methods to NodeTransformer 2018-12-14 20:01:47 +01:00
Tomáš Votruba
4c585a1daa
Merge pull request #839 from rectorphp/cakephp-fix
Test case for CakePHP bug
2018-12-14 19:00:22 +01:00
Tomas Votruba
f969e5a1f2 improve performance of AstractRectorTestCase and show original file path on fail 2018-12-14 16:17:50 +01:00
Tomas Votruba
e80e22a133 fix AppliedRectorCollector 2018-12-14 12:44:58 +01:00
Tomas Votruba
665e58a7fa keep visually similar lines in SimplifyUselessVariableRector 2018-12-13 22:07:27 +01:00
Tomas Votruba
f9fba047e1 add test case for #835 2018-12-13 21:06:12 +01:00
Tomas Votruba
cacc9fa35d improve no-rectors found message 2018-12-13 21:06:12 +01:00
Tomas Votruba
f7bf21fec3 improve attributes, add .editorconfig v0.3.25 2018-12-13 17:23:24 +01:00
Tomáš Votruba
5c0043019f
Merge pull request #836 from dereuromark/master
Add gitattributes file
2018-12-13 17:19:32 +01:00