5298 Commits

Author SHA1 Message Date
Tomas Votruba
842cd401ac [Laravel] Fix missing method name in 5.7 2019-06-10 19:01:39 +02:00
Tomáš Votruba
c85258d998
Skip traits in RemoveParentCallWithoutParentRector (#1601)
Skip traits in RemoveParentCallWithoutParentRector
2019-06-10 18:39:32 +02:00
Tomas Votruba
e03bb19a2e add trait test case for RemoveDelegatingParentCallRector 2019-06-10 18:32:43 +02:00
Tomas Votruba
739c585410 Skip traits in RemoveParentCallWithoutParentRector 2019-06-10 18:30:58 +02:00
Tomáš Votruba
6009b61426
add test case for #1597 (#1600)
add test case for #1597
2019-06-10 18:13:12 +02:00
Tomas Votruba
4dbfe16b0e add test case for #1597 2019-06-10 17:57:56 +02:00
Tomáš Votruba
45676832c4
Fix StringClassNameToClassConstantRector for empty name [closes #1596] (#1599)
Fix StringClassNameToClassConstantRector for empty name [closes #1596]
2019-06-10 17:57:04 +02:00
Tomas Votruba
034d66d02b add preslash support to StringClassNameToClassConstantRector 2019-06-10 17:56:48 +02:00
Tomas Votruba
05b5e43c91 Fix StringClassNameToClassConstantRector for empty name [closes #1596] 2019-06-10 17:56:48 +02:00
Tomáš Votruba
b24cca6233
Fix nullable item in ListSwapArrayOrderRector (#1590)
Fix nullable item in ListSwapArrayOrderRector
2019-06-10 10:33:04 +02:00
Tomas Votruba
9ff71f9be1 Fix nullable item in ListSwapArrayOrderRector 2019-06-10 10:27:36 +02:00
Tomáš Votruba
88e573ef0e
Add assign ref support to AddDefaultValueForUndefinedVariableRector (#1589)
Add assign ref support to AddDefaultValueForUndefinedVariableRector
2019-06-10 10:20:20 +02:00
Tomáš Votruba
42d6958988
Merge pull request #1586 from rectorphp/dead-parent
[DeadCode] Add RemoveDelegatingParentCallRector
2019-06-10 10:19:55 +02:00
Tomas Votruba
e7c58f0b7e Add assign ref support to AddDefaultValueForUndefinedVariableRector 2019-06-10 10:19:21 +02:00
Tomáš Votruba
b8d25d7576
resolve foreach scope for AddDefaultValueForUndefinedVariableRector (#1588)
resolve foreach scope for AddDefaultValueForUndefinedVariableRector
2019-06-10 01:49:59 +02:00
Tomas Votruba
599a5133cd resolve foreach scope for AddDefaultValueForUndefinedVariableRector 2019-06-10 01:49:29 +02:00
Tomáš Votruba
2fbd045b1d
[PHP] Skip list in AddDefaultValueForUndefinedVariableRector (#1587)
[PHP] Skip list in AddDefaultValueForUndefinedVariableRector
2019-06-10 00:59:26 +02:00
Tomas Votruba
5820e51197 [PHP] Skip list in AddDefaultValueForUndefinedVariableRector 2019-06-10 00:59:09 +02:00
Tomas Votruba
78ff3533db [DeadCode] Add RemoveZeroAndOneBinaryRector 2019-06-10 00:39:10 +02:00
Tomáš Votruba
7ad34fc4ee
Merge pull request #1584 from rectorphp/dead-zero
[DeadCode] Add RemoveDeadZeroAndOneOperationRector
2019-06-09 19:22:27 +02:00
Tomas Votruba
f6f131a93c [DeadCode] Add RemoveZeroAndOneBinaryRector 2019-06-09 19:11:44 +02:00
Tomáš Votruba
94db26e2a5
Merge pull request #1583 from rectorphp/countnull
Fix CountOnNullRector for nullable and invalid property
2019-06-09 00:10:53 +02:00
Tomas Votruba
33d39cd973 Fix CountOnNullRector for nullable and invalid property 2019-06-09 00:05:37 +02:00
Tomas Votruba
d028f6cffa [github] improve issue templates 2019-06-08 22:51:08 +02:00
Tomáš Votruba
ae2d852391
Merge pull request #1582 from rectorphp/useless
Rename "level" directory to "set"
2019-06-08 22:44:11 +02:00
Tomáš Votruba
e6f8346f64
Merge pull request #1525 from funivan/1469-issue-template
#1469 prototype github issue template
2019-06-08 22:42:58 +02:00
Tomas Votruba
522fc0ca58 rename level dir to set 2019-06-08 22:41:52 +02:00
Tomas Votruba
e15518081a add SimplifyUselessVariableRector to dead-code set 2019-06-08 22:40:51 +02:00
Tomáš Votruba
2f22eeee2a
use STOP_TRAVERSAL over exception (#1581)
use STOP_TRAVERSAL over exception
2019-06-08 22:32:47 +02:00
Tomas Votruba
ee19bec1c0 use STOP_TRAVERSAL over exception 2019-06-08 22:31:39 +02:00
Tomas Votruba
fb06c1fee1 fix return type spacing on Closure v0.5.5 2019-06-08 05:41:16 +02:00
Tomáš Votruba
09932c2a44
Merge pull request #1577 from rectorphp/string-anon
skip analysis of new anonymous classes in method call [closes #1574]
2019-06-07 14:24:05 +02:00
Tomas Votruba
7c60f52450 skip analysis of new anonymous classes in method call [closes #1574] 2019-06-07 14:07:48 +02:00
Tomas Votruba
3add1822b4 update CHANGELOG for 0.5.4 v0.5.4 2019-06-06 15:03:56 +02:00
Tomas Votruba
0b0cf24098 update docs 2019-06-06 15:01:53 +02:00
Tomáš Votruba
075067ffa4
[Symfony 4.3] Improve event name and class flip (#1572)
[Symfony 4.3] Improve event name and class flip
2019-06-05 18:07:00 +02:00
Tomas Votruba
b91749477f add MagicEventeDispatcher test case for RemoveExtraParametersRector 2019-06-05 18:06:07 +02:00
Tomas Votruba
4a3fee7223 make test Symfony back and forth compatible 2019-06-05 17:48:40 +02:00
Tomas Votruba
f6cfcfa1d1 optimize looping over variable 2019-06-05 17:48:40 +02:00
Tomas Votruba
b6eddb6ac2 use constant over string for class name 2019-06-05 17:48:40 +02:00
Tomas Votruba
f046ed6457 remove redundant class constant in MakeDispatchFirstArgumentEventRector 2019-06-05 17:48:40 +02:00
Tomáš Votruba
ab1b2e6cfb
Merge pull request #1571 from rectorphp/phpunit8-not
Fix anonymous class method return type resolving
2019-06-05 17:46:01 +02:00
Tomas Votruba
1509b720ad Fix anonymous class method return type resolving [closes #1566] 2019-06-05 17:09:36 +02:00
Tomáš Votruba
18585ae5a3
[DeadCode] Add RemoveConcatAutocastRector (#1570)
[DeadCode] Add RemoveConcatAutocastRector
2019-06-05 17:05:08 +02:00
Tomas Votruba
16c60344a6 [DeadCode] Add RemoveConcatAutocastRector 2019-06-05 16:49:28 +02:00
Tomáš Votruba
464c0350b0
Merge pull request #1569 from rectorphp/announce-exception-rename
Fix reporting of changed nodes
2019-06-05 16:39:16 +02:00
Tomas Votruba
c3c4574266 Fix reporting of changed nodes [close #1534] 2019-06-05 16:37:54 +02:00
Tomas Votruba
f02b639549 fix cs 2019-06-05 16:37:54 +02:00
Tomas Votruba
bdabc78cf5 remove redundant class constant in MakeDispatchFirstArgumentEventRector 2019-06-05 16:37:54 +02:00
Tomáš Votruba
e8ca4d098b
[Symfony 4.3] Add parent::__construct to EventDispatcher (#1568)
[Symfony 4.3] Add parent::__construct to EventDispatcher
2019-06-05 16:37:35 +02:00