5271 Commits

Author SHA1 Message Date
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
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
Tomas Votruba
d94f47b276 [ClassMethod] Add AddMethodParentCallRector 2019-06-05 16:36:19 +02:00
Tomas Votruba
7b139d1228 move abstract rector traits to AbstractRector namespace 2019-06-05 16:36:16 +02:00
Tomáš Votruba
e1cd37c3c0
Merge pull request #1567 from Great-Antique/patch-1
Fix solid.yaml
2019-06-05 16:35:11 +02:00
Den Girnyk
5a2fc5288e
Fix solid.yaml
Currently solid.yaml references to not existed class. This PR fix this
2019-06-05 16:49:51 +03:00
Tomáš Votruba
7cecb36a0b
Merge pull request #1565 from rectorphp/class-to-string-insensitive
make StringClassNameToClassConstantRector case sensitive [closes #1539]
2019-06-05 14:40:16 +02:00
Tomáš Votruba
cf45256f2c
Merge pull request #1563 from rectorphp/count-on-null
add array_merge to CountOnNullRector
2019-06-05 15:34:28 +03:00
Tomas Votruba
0b7400f5bb make StringClassNameToClassConstantRector case sensitive [closes #1539] 2019-06-05 09:40:03 +03:00
Tomas Votruba
e66bd8888d add array_merge to CountOnNullRector 2019-06-05 00:12:55 +03:00
Tomáš Votruba
56e2082d08
add CallableNodeTraverserTrait (#1562)
add CallableNodeTraverserTrait
2019-06-04 23:47:36 +03:00
Tomas Votruba
f4cefb18d3 add CallableNodeTraverserTrait 2019-06-04 23:39:57 +03:00
Tomáš Votruba
bdb5c39fa0
Merge pull request #1559 from keulinho/patch-1
Fix classname change for FilterControllerEvent
2019-06-04 19:19:30 +03:00
Tomáš Votruba
04511fde9c
make RemoveUnusedAliasRector take into account aliases that keep 2 classes with same short name explicit (#1561)
make RemoveUnusedAliasRector take into account aliases that keep 2 classes with same short name explicit
2019-06-04 18:43:46 +03:00
Tomas Votruba
1e3490ee96 make RemoveUnusedAliasRector take into account aliases that keep 2 classes with same short name explicit 2019-06-04 18:28:01 +03:00
Tomas Votruba
c59a014be5 fix static 2019-06-04 18:28:01 +03:00
Tomáš Votruba
fff12cab46
Merge pull request #1538 from Aerendir/RemoveUnusedAliasRector-namespace-conflicts-1537
Don't remove aliases of classes with same name but different namespaces.
2019-06-04 17:37:52 +03:00
Tomáš Votruba
3ae1a211b0
Merge pull request #1558 from cgkkevinr/fix/autowired_event_dispatcher_fix_parent_constructor
Do not call parent constructor of AutowiredEventDispatcher unless it exists
2019-06-04 17:31:08 +03:00
Jonas Elfering
de4ae5e31e
Fix classname change for FilterControllerEvent
As described in https://github.com/symfony/symfony/blob/4.4/UPGRADE-4.3.md#httpkernel the new name for the FilterControllerEvent is ControllerEvent
2019-06-04 16:25:57 +02:00
Kevin R
c75925a289 Do not call parent constructor unless it exists
Signed-off-by: Kevin R <22906111+cgkkevinr@users.noreply.github.com>
2019-06-04 16:15:48 +02:00
Tomáš Votruba
ae833f1e82
Fix scope overflow in AddDefaultValueForUndefinedVariableRector (#1557)
Fix scope overflow in AddDefaultValueForUndefinedVariableRector
2019-06-04 16:39:30 +03:00
Tomas Votruba
58827f6ae2 Fix scope overflow in AddDefaultValueForUndefinedVariableRector [closes #1530] 2019-06-04 16:36:55 +03:00
Tomas Votruba
4b6920caab add test case for #1527 2019-06-04 16:26:55 +03:00
Tomáš Votruba
c7dcf686e4
fix static method in reflection for StaticCallOnNonStaticToInstanceCallRector (#1556)
fix static method in reflection for StaticCallOnNonStaticToInstanceCallRector
2019-06-04 15:19:31 +03:00
Tomas Votruba
ad75f5527b fix static method in reflection for StaticCallOnNonStaticToInstanceCallRector [closes #1431] 2019-06-04 15:17:31 +03:00
Tomáš Votruba
1c1fc92630
skip nullable array for ArrayPropertyDefaultValueRector [closes #1542] (#1555)
skip nullable array for ArrayPropertyDefaultValueRector [closes #1542]
2019-06-04 15:06:48 +03:00
Tomas Votruba
8dc54e73f4 skip nullable array for ArrayPropertyDefaultValueRector [closes #1542] 2019-06-04 15:06:01 +03:00
Tomáš Votruba
ae5a3777ca
optimize (#1554)
optimize
2019-06-04 15:02:41 +03:00
Tomas Votruba
ddda93005f optimize 2019-06-04 15:01:50 +03:00