986 Commits

Author SHA1 Message Date
TomasVotruba
811d6bb41b fix tests 2017-10-29 15:37:45 +01:00
TomasVotruba
9acaccf91d use SmartClassReflector, to get parent classes 2017-10-29 15:35:43 +01:00
TomasVotruba
1300811acc [NodeTypeResolver] fix support to include parent classes 2017-10-29 15:35:27 +01:00
TomasVotruba
a7ff99d870 [PHPUnit] add setExpectedExceptionRegExp rector [ref #115] 2017-10-29 15:06:42 +01:00
TomasVotruba
b8db5014a2 methos renames 2017-10-29 13:32:36 +01:00
TomasVotruba
aef18037b2 cleanup 2017-10-29 13:30:53 +01:00
TomasVotruba
a9b07c3da8 decouple PropertyFetchNodeFactory calls 2017-10-29 13:29:16 +01:00
TomasVotruba
11c550e244 decouple PropertyFetchNodeFactory 2017-10-29 13:27:43 +01:00
TomasVotruba
0a38d988c4 methos renames 2017-10-29 13:16:01 +01:00
TomasVotruba
b271ec7e3e decouple MethodCallNodeFactory calls 2017-10-29 13:13:40 +01:00
TomasVotruba
140c75ee9b decouple MethodCallNodeFactory 2017-10-29 13:01:25 +01:00
TomasVotruba
0892bd0c7c composer: add dev php-parser 2017-10-29 12:49:14 +01:00
Tomáš Votruba
f3d5dc6b09
Merge pull request #116 from RectorPHP/method-rename-parents
MethodRename - include parent calls
2017-10-29 03:52:11 +01:00
TomasVotruba
19d323e00e decouple MethodNameAnalyzer, cleanup MethodNameReplacerRector 2017-10-29 02:31:27 +02:00
TomasVotruba
d02b8d57e1 cleanup 2017-10-29 01:49:46 +02:00
TomasVotruba
61e0738dab lower complexity for PropertyFetchTypeResolver 2017-10-29 01:47:07 +02:00
TomasVotruba
e9a61d9e28 misc 2017-10-29 01:40:25 +02:00
TomasVotruba
f32be9477e extract to NodeFactory 2017-10-29 01:39:15 +02:00
TomasVotruba
e316e2aa94 IdentifierRector: fix nesting Node 2017-10-29 01:36:16 +02:00
TomasVotruba
2c90337130 Revert "expression experiment"
This reverts commit 0293adc2d4f7da81658f841fa7e008e8e1056543.
2017-10-29 01:32:48 +02:00
TomasVotruba
f75eedd9fa add test 2017-10-29 01:32:29 +02:00
TomasVotruba
155b883490 add StaticMethodCallAnalyzer - fix multitypes 2017-10-29 01:29:54 +02:00
TomasVotruba
26ba8a257b [MethodNameReplacerRector] add test 2017-10-29 01:29:29 +02:00
TomasVotruba
c0e0a2fcea [NodeTypeResolver] add parent to name resolver 2017-10-29 01:28:40 +02:00
Tomáš Votruba
b61a576174
Merge pull request #114 from RectorPHP/php-parser-segfaults-and-extra-spaces
Php parser segfaults and extra spaces
2017-10-28 23:17:10 +02:00
TomasVotruba
91202e3edb composer: lock to fork version 2017-10-28 23:07:05 +02:00
TomasVotruba
e651e66c9a fix test for missing type 2017-10-28 22:55:15 +02:00
TomasVotruba
0293adc2d4 expression experiment 2017-10-28 17:16:11 +02:00
TomasVotruba
4a9afa900e cleanup 2017-10-28 17:03:31 +02:00
Tomáš Votruba
09b86427cc
Merge pull request #113 from RectorPHP/node-finder-expression-remover
BetterNodeFinder + NodeRemover added
2017-10-28 17:01:49 +02:00
TomasVotruba
9c74e03d8c make CloningNodeVistior fail 2017-10-28 16:59:20 +02:00
TomasVotruba
30fed31ca5 experiment 2017-10-28 15:10:41 +02:00
TomasVotruba
6fd1b419c1 IdentifierRector fixes 2017-10-28 14:23:09 +02:00
TomasVotruba
1a13691cf1 make CloningNodeVistior pass 2017-10-28 14:20:57 +02:00
TomasVotruba
9f41017d1f make CloningNodeVistior pass 2017-10-28 13:55:01 +02:00
TomasVotruba
33a8969955 [NodeTypeResolver] fix multitypes for properties, resolve via DocBlockReflection and BetterReflection 2017-10-28 13:46:35 +02:00
TomasVotruba
2974ce26c4 [ReflectionDocBlock] decouple AnnotationRemover 2017-10-28 01:37:02 +02:00
TomasVotruba
47a5625806 minimize code for failing clone of NodeTraverserQueue 2017-10-27 23:42:55 +02:00
TomasVotruba
46c20092ec make it run for nested array property access 2017-10-27 23:38:05 +02:00
TomasVotruba
ea2a918418 [NodeTypeResolver] deal with nested property 2017-10-27 23:27:53 +02:00
TomasVotruba
9f9ed78c07 [PropertyFetchTypeResolver] add object property reflection 2017-10-27 23:08:15 +02:00
TomasVotruba
b240eadda5 [ReflectionDocBlock] make NamespaceAnalyzer work with use aliases 2017-10-27 22:40:55 +02:00
TomasVotruba
be26c7ebcd fixing PerNodeTypeResolver for property access 2017-10-27 21:22:48 +02:00
TomasVotruba
997967788f fix cs 2017-10-27 19:11:44 +02:00
TomasVotruba
70bd97c5ca ClassReplacerRector test 2017-10-27 18:35:39 +02:00
TomasVotruba
4b244db5fd IdentifierRector: run just once 2017-10-27 18:26:11 +02:00
TomasVotruba
200ab47ff0 extend IdentifierRector test 2017-10-27 16:40:28 +02:00
TomasVotruba
0d6abdadaf add IdentifierRector test 2017-10-27 16:26:37 +02:00
TomasVotruba
d59ffe27e3 add failing test for CloningVisitor 2017-10-27 15:25:01 +02:00
TomasVotruba
3d7e03a02e [NodeTraverserQueue] add test for weird cloning use case 2017-10-27 15:06:51 +02:00