305 Commits

Author SHA1 Message Date
Tomas Votruba
47f2264fdd [DX] add link to all nodes to PhpRectorInterface 2019-06-26 15:30:50 +02:00
Tomas Votruba
e8e551064c [PHP] Fix JsonThrowOnErrorRector inter-args 2019-06-23 21:59:21 +02:00
Tomas Votruba
b32c32b682 [PHP] Fix mktime rename with args [closes #1622] 2019-06-23 20:03:33 +02:00
Tomas Votruba
8ac3b524fb [PHP] Fix missed variadic on ReflectionMethod::invoke() [closes #1625] 2019-06-23 19:44:57 +02:00
Tomas Votruba
484e9916d4 [PHP] Fix StringifyStrNeedlesRector duplicated change 2019-06-23 16:23:42 +02:00
Tomas Votruba
e58edf02dc [PHP] Fix class signature over interface priority in RemoveExtraParametersRector 2019-06-16 00:46:13 +02:00
Tomas Votruba
ae3e2602d0 fix cs 2019-06-15 15:30:58 +02:00
Tomas Votruba
739c585410 Skip traits in RemoveParentCallWithoutParentRector 2019-06-10 18:30:58 +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
Tomas Votruba
9ff71f9be1 Fix nullable item in ListSwapArrayOrderRector 2019-06-10 10:27:36 +02:00
Tomas Votruba
e7c58f0b7e Add assign ref support to AddDefaultValueForUndefinedVariableRector 2019-06-10 10:19:21 +02:00
Tomas Votruba
599a5133cd resolve foreach scope for AddDefaultValueForUndefinedVariableRector 2019-06-10 01:49:29 +02:00
Tomas Votruba
5820e51197 [PHP] Skip list in AddDefaultValueForUndefinedVariableRector 2019-06-10 00:59:09 +02:00
Tomas Votruba
33d39cd973 Fix CountOnNullRector for nullable and invalid property 2019-06-09 00:05:37 +02:00
Tomas Votruba
ee19bec1c0 use STOP_TRAVERSAL over exception 2019-06-08 22:31:39 +02:00
Tomas Votruba
b91749477f add MagicEventeDispatcher test case for RemoveExtraParametersRector 2019-06-05 18:06:07 +02:00
Tomas Votruba
f6cfcfa1d1 optimize looping over variable 2019-06-05 17:48:40 +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
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
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
Tomas Votruba
f4cefb18d3 add CallableNodeTraverserTrait 2019-06-04 23:39:57 +03:00
Tomas Votruba
c59a014be5 fix static 2019-06-04 18:28:01 +03:00
Tomas Votruba
58827f6ae2 Fix scope overflow in AddDefaultValueForUndefinedVariableRector [closes #1530] 2019-06-04 16:36:55 +03:00
Tomas Votruba
ad75f5527b fix static method in reflection for StaticCallOnNonStaticToInstanceCallRector [closes #1431] 2019-06-04 15:17:31 +03:00
Tomáš Votruba
2ab3cfd12e
Really ignore really static methods. (#1541)
Really ignore really static methods.
2019-06-03 22:25:06 +03:00
Aerendir
22af114ae9 Really ignore really static methods.
Issue #1431.
2019-06-03 19:30:00 +02:00
Aerendir
2bcdcf0183 Failing test for anonymous functions.
Issue #1530.
2019-06-03 14:03:26 +02:00
Tomas Votruba
ffa631c3c9 [PHP] Add is_countable to CountOnNull 2019-06-01 01:56:36 +03:00
Tomas Votruba
4632e1ea24 add original content for text phpdoc nodes 2019-05-31 12:53:59 +02:00
Tomas Votruba
f6da9d2854 fix static 2019-05-31 12:53:59 +02:00
Tomáš Votruba
0639042f05
[CodeQuality] Add trait and parent class support for CompleteDynamicPropertiesRector (#1510)
[CodeQuality] Add trait and parent class support for CompleteDynamicPropertiesRector
2019-05-31 08:22:55 +02:00
Tomas Votruba
f799d5385c [CodeQuality] Add trait and parent class support for CompleteDynamicPropertiesRector 2019-05-31 08:11:46 +02:00
Tomas Votruba
cad5bb2793 [PHP] Fix AddDefaultValueForUndefinedVariableRector for static variable 2019-05-31 01:11:53 +02:00
Tomas Votruba
c81cd9a8f7 make test shorter 2019-05-31 00:33:00 +02:00
Tomas Votruba
20408b424c [PHP] Fix BinaryOpBetweenNumberAndStringRector for concat 2019-05-31 00:32:44 +02:00
Tomáš Votruba
7dd8162dfd
Ensure static variables are considered as declared. (#1506)
Ensure `static` variables are considered as declared.
2019-05-31 00:24:55 +02:00
Tomáš Votruba
29a278405b
make fixture shorter 2019-05-31 00:24:32 +02:00
Aerendir
0be25f882d Ensure static variables are considered as declared.
Issue #1505.
2019-05-30 18:27:07 +02:00
Aerendir
439fdbd6ff Test concatenation dot is ignored. 2019-05-30 15:53:14 +02:00
Tomas Votruba
bc4da3b79a fix incompatibilites 2019-05-28 20:11:19 +02:00
Tomas Votruba
a0bb1ed604 cs: fix array indent 2019-05-28 20:11:19 +02:00
Tomas Votruba
3389d71219 add defined test case 2019-05-26 22:04:20 +02:00
Tomas Votruba
2f6e3bef75 [CodingStyle] Add VarConstantCommentRector 2019-05-26 13:13:22 +02:00
Tomas Votruba
1d24dae9df update to php-parser 4.2.2 2019-05-25 22:54:28 +02:00
Tomas Votruba
f0e86b25bf introduce OutputFormatterCollector to allow extension of output formatters 2019-05-25 20:34:10 +02:00
Tomas Votruba
f51b3d3a71 [PHP] Add StringClassNameToClassConstantRector 2019-05-24 15:05:39 +02:00
Tomas Votruba
53cd941dcd refactor ImportFullyQualifiedNamesRector to allow non-namespaced elements 2019-05-22 17:33:51 +02:00