4856 Commits

Author SHA1 Message Date
Tomáš Votruba
0543a5a2ab
Merge pull request #1283 from rectorphp/nette-utils-code-quality-match
[Nette] Add PregFunctionToNetteUtilsStringsRector
2019-04-02 15:52:27 +02:00
Tomas Votruba
0f28de49d3 README: add community packages [close #1234] [skip ci] 2019-04-02 15:40:58 +02:00
Tomas Votruba
b840709a90 update README [skip ci] 2019-04-02 15:35:46 +02:00
Tomas Votruba
1fad013d4e Add PregFunctionToNetteUtilsStringsRector 2019-04-02 15:32:33 +02:00
Tomáš Votruba
d49b97abf7
Merge pull request #1285 from mxr576/issue/1188
Allows to process files with not php extension
2019-04-02 13:07:07 +02:00
Dezső BICZÓ
6bc980181f
Allows to process files with not php extension
#1188
2019-04-02 09:24:38 +02:00
Tomas Votruba
40277d7a8d make NodeFactory protected in NodeFactoryTrait 2019-04-01 19:01:02 +02:00
Tomas Votruba
1b11920141 fix hidden bool 2019-04-01 13:41:30 +02:00
Tomáš Votruba
a66f1cfb66
Merge pull request #1281 from rectorphp/nette-utils-code-qality
[Nette] Add nette-utils-code-quality level
2019-04-01 13:40:48 +02:00
Tomas Votruba
0c3715e221 Add StartsWithFunctionToNetteUtilsStringsRector and EndsWithFunctionToNetteUtilsStringsRector 2019-04-01 13:40:09 +02:00
Tomas Votruba
2edfb75319 make use of createMethodCall() 2019-04-01 13:40:09 +02:00
Tomas Votruba
7a07fe6a70 make use of createStaticCall 2019-04-01 13:40:09 +02:00
Tomas Votruba
518e891d99 Add SubstrStrlenFunctionToNetteUtilsStringsRector 2019-04-01 13:40:09 +02:00
Tomas Votruba
0367f5c693 README: remove console-related tip 2019-04-01 13:40:09 +02:00
Tomas Votruba
fc86298e60 [Nette] Add nette-utils-code-quality level 2019-04-01 13:40:09 +02:00
Tomas Votruba
5a1ba0ba24 apply dead-code level 2019-04-01 13:40:09 +02:00
Tomáš Votruba
6952e40ebf
Merge pull request #1282 from rectorphp/simplify-if-else-long
[CodeQuality] Add code-quality set to Travis CI, improve SimplifyIfElseToTernaryRector
2019-04-01 13:32:49 +02:00
Tomas Votruba
b6f601d634 add nested ternary in condition 2019-04-01 13:17:18 +02:00
Tomas Votruba
3e71d23534 apply code-quality on Rector code 2019-04-01 13:12:26 +02:00
Tomas Votruba
c74e03dfed skip nested tenary in SimplifyIfElseToTernaryRector 2019-04-01 13:12:20 +02:00
Tomas Votruba
1df9ad3ba3 add code-quality to CI 2019-04-01 13:11:57 +02:00
Tomas Votruba
8574f286b6 make SimplifyIfElseToTernaryRector limit to 120 chars to prevent complicated code 2019-04-01 13:04:50 +02:00
Tomas Votruba
3fafc49ea0 fix hasNodeChanged() method 2019-04-01 13:04:32 +02:00
Tomas Votruba
9c249c2550 rector: allow SimplifyIfElseToTernaryRector in local set 2019-04-01 13:04:14 +02:00
Tomas Votruba
a9b491d4f3 apply code-quality level 2019-04-01 12:53:07 +02:00
Tomáš Votruba
5293a34a67
Merge pull request #1280 from rectorphp/dead-method
[DeadCode] Keep method on non-final public/protected, might be overloaded
2019-03-31 23:47:43 +02:00
Tomas Votruba
614a67706b add the same if test 2019-03-31 23:22:58 +02:00
Tomas Votruba
3ee0597190 version rector.yaml for dog food 2019-03-31 23:21:00 +02:00
Tomas Votruba
d863a76ebc travis: hide -vvv to make build pass 2019-03-31 23:21:00 +02:00
Tomas Votruba
e9c294d14e [DeadCode] cover case with if/else in RemvoeDoubleAssignRector 2019-03-31 22:45:56 +02:00
Tomas Votruba
0e7c8e331a [DeadCode] Keep method on non-final public/protected, might be overloaded 2019-03-31 22:35:21 +02:00
Tomas Votruba
d64dcfbc54 travis: add dog food run 2019-03-31 21:55:38 +02:00
Tomas Votruba
9262ef9e4b apply dead-code level 2019-03-31 21:54:39 +02:00
Tomas Votruba
d40a2d453a correct code sample in ExplicitBoolCompareRector [closes #1241] 2019-03-31 21:54:32 +02:00
Tomáš Votruba
846a4fff63
Merge pull request #1279 from rectorphp/dead-improv
[DeadCode] Various fixes over all set
2019-03-31 21:49:09 +02:00
Tomas Votruba
cbddceb06a add different scope support to RemoveDoubleAssignRector 2019-03-31 21:33:32 +02:00
Tomas Votruba
3f2f64de22 [DeadCode] Do not remove variable that is re-assigned 2019-03-31 20:13:46 +02:00
Tomas Votruba
f7043f956a add get/set attribute constant name complete to .phpstorm.meta.php 2019-03-31 19:06:53 +02:00
Tomas Votruba
cda984039b remove dead re-assign 2019-03-31 15:49:34 +02:00
Tomas Votruba
acec585d2d [DeadCode] Make RemoveDoubleAssignRector ignore array dim fetch, keep only variable and property 2019-03-31 15:43:56 +02:00
Tomas Votruba
be98a5016c fix invalid AbstractRector 2019-03-31 15:10:31 +02:00
Tomáš Votruba
9c1aac38eb
Merge pull request #1278 from rectorphp/rector-self
Apply code-quality level
2019-03-31 14:50:52 +02:00
Tomas Votruba
b9fbb3654d apply code-quality level 2019-03-31 14:48:06 +02:00
Tomáš Votruba
24ae3ae211
Merge pull request #1277 from rectorphp/regex-simpler
[CodeQuality] Simplify Regex patterns
2019-03-31 14:34:43 +02:00
Tomas Votruba
01a9bbf95e update docs 2019-03-31 14:25:39 +02:00
Tomas Votruba
0f179983de Move argument discovery from RegexDashEscapeRector to RegexPatternArgumentManipulator 2019-03-31 14:18:18 +02:00
Tomas Votruba
665aa540d2 improve RegexDashEscapeRector to match constant value 2019-03-31 13:34:42 +02:00
Tomáš Votruba
8566fac00b
Merge pull request #1240 from jdreesen/patch-3
Fix description of ListEachRector
2019-03-31 12:50:32 +02:00
Tomáš Votruba
1fcd267a76
updated description of ListEachRector 2019-03-31 12:50:22 +02:00
Tomas Votruba
94af2d3273 decouple RegexPatternArgumentManipulator 2019-03-31 12:49:26 +02:00