4053 Commits

Author SHA1 Message Date
Tomas Votruba
3ecf8172ed validate condition in BinaryOpMaintainer 2018-11-09 23:25:05 +01:00
Tomas Votruba
ea28a2600a fix SimplifyEmptyArrayCheckRector for not empty non-arrays 2018-11-09 23:22:42 +01:00
Tomas Votruba
475db7bf4d fix cs 2018-11-09 22:19:04 +01:00
Tomas Votruba
8a74acf11b include strict/non-strict in SimplifyArraySearchRector 2018-11-09 22:18:48 +01:00
Tomas Votruba
1877d4069f fix constant bug in UnnecessaryTernaryExpressionRector 2018-11-09 21:55:12 +01:00
Tomas Votruba
9eacf38b3b resolve only types with scope 2018-11-09 19:32:50 +01:00
Tomas Votruba
f36d033f97 add shortcuts to ProcessCommand options 2018-11-09 19:14:47 +01:00
Tomas Votruba
b0fb72623d inline unsued variable 2018-11-09 19:01:02 +01:00
Tomas Votruba
3491f386a9 reset applied rectors 2018-11-09 19:00:19 +01:00
Tomas Votruba
5b050a09c2 Add BetterStandardPrinter comment 2018-11-09 18:42:50 +01:00
Tomas Votruba
904417add9 merge NodeAddingTrait and NodeRemovingTrait to NodeCommandersTrait 2018-11-09 17:17:33 +01:00
Tomas Votruba
b789d2b1e4 fixup! show applied Rectors even on adding/removing nodes 2018-11-09 15:47:51 +01:00
Tomas Votruba
7682a10dd9 show applied Rectors even on adding/removing nodes 2018-11-09 15:47:23 +01:00
Tomas Votruba
b390f1b887 add isActive() to CommanterInterface 2018-11-09 15:46:51 +01:00
Tomas Votruba
82573638bc do not actually remove nodes on PHPStan skipping deep nested chains 2018-11-09 15:46:06 +01:00
Tomas Votruba
9f5265ceaa keep commented dead code in DeadCodeRemovingRector 2018-11-09 15:02:00 +01:00
Tomas Votruba
3ed6d42817 improve README 2018-11-09 14:58:49 +01:00
Tomas Votruba
b5c9e9021c README: update coverage status 2018-11-09 14:45:14 +01:00
Tomas Votruba
f05c71c58d do not touch end newlines, keep only in tests 2018-11-09 13:36:58 +01:00
Tomas Votruba
1be856068b show config on run 2018-11-09 01:54:33 +01:00
Tomáš Votruba
c13885eb05
Merge pull request #777 from bendavies/patch-1
fixed named parameter.
2018-11-09 00:46:16 +01:00
Ben Davies
6aee902a1a
fixed named parameter. 2018-11-08 17:32:53 +00:00
Tomáš Votruba
5540b1ccd0
Merge pull request #776 from rectorphp/ps-type-cast
[PHPStan] Add RecastingRemovalRector
2018-11-08 14:01:55 +01:00
Tomas Votruba
dabf8bac49 [PHPStan] Add RecastingRemovalRector 2018-11-08 13:52:02 +01:00
Tomáš Votruba
14d806990f
Merge pull request #775 from rectorphp/cq-dead-code
[CodeQuality] Add DeadCodeRemovingRector
2018-11-08 13:24:31 +01:00
Tomas Votruba
01dab609a3 [CodeQuality] Add DeadCodeRemovingRector 2018-11-08 13:17:37 +01:00
Tomas Votruba
36dc29b56d merge Utils package to PhpParser 2018-11-08 13:04:38 +01:00
Tomas Votruba
b14f326697 Show version run [closes #774] 2018-11-08 12:24:55 +01:00
Tomáš Votruba
6006a75c8f
Merge pull request #773 from rectorphp/commander
Make use of AssignAndBinaryMap + BinaryOpMaintainer + add NodeCommanders
v0.3.19
2018-11-07 23:50:40 +01:00
Tomas Votruba
9201ad86e2 cleanup [skip ci] 2018-11-07 23:38:44 +01:00
Tomas Votruba
52d133f1f1 move VariableInfo to Node namespace 2018-11-07 23:31:07 +01:00
Tomas Votruba
29e933c66b Add PropertyAddingCommander 2018-11-07 23:24:29 +01:00
Tomas Votruba
efc39b394d Add NodeAddingCommander 2018-11-07 21:58:41 +01:00
Tomas Votruba
b62c31bcad Add NodeRemovingCommander 2018-11-07 21:30:55 +01:00
Tomas Votruba
bf37049776 Move Expression re-type to AbstractRector 2018-11-07 20:52:37 +01:00
Tomas Votruba
51443d27ec misc 2018-11-07 20:39:33 +01:00
Tomas Votruba
9283ac30bf make use of AssignAndBinaryMap 2018-11-07 19:59:22 +01:00
Tomas Votruba
71824ab33c make use of BinaryOpMaintainer 2018-11-07 19:49:13 +01:00
Tomáš Votruba
dbdf01bf0d
Merge pull request #768 from rectorphp/fixes
Various fixes of CodeQuality
2018-11-07 03:02:30 +01:00
Tomas Votruba
d166ff0151 improve CodeQuality 2018-11-07 02:50:22 +01:00
Tomas Votruba
981708f998 ecs: skip interfaced error 2018-11-07 02:29:16 +01:00
Tomas Votruba
ec6378f2b8 Allow 2nd Node in BinaryOpMaintainer 2018-11-07 02:29:05 +01:00
Tomas Votruba
bfc8969323 Fix ForeachToInArrayRector case 2018-11-07 02:28:52 +01:00
Tomáš Votruba
a0b19bbdbd
Merge pull request #767 from rectorphp/commander
Chain method call performance fixes + misc
2018-11-07 01:30:08 +01:00
Tomas Votruba
8cce043697 make use of BinaryOpMaintainer 2018-11-07 01:24:44 +01:00
Tomas Votruba
082864b772 fix SimplifyEmptyArrayCheckRector for non-empty cases 2018-11-07 01:07:31 +01:00
Tomas Votruba
396f076b71 Fix too deep method chain calls performance on analysis 2018-11-07 00:20:44 +01:00
Tomas Votruba
9962c25e55 add XdebugHandler 2018-11-06 23:12:02 +01:00
Tomas Votruba
77a11c7f9e composer: bump safe 2018-11-06 22:03:47 +01:00
Tomáš Votruba
f58196c3a6
Merge pull request #766 from rectorphp/code-quality-fixes
fix SimplifyIfReturnBoolRector
2018-11-05 09:48:32 +01:00