1638 Commits

Author SHA1 Message Date
Gabriel Caruso
fc4da334fa Use MethodCallNodeFactory in PropertyToMethodRector 2017-12-27 18:44:10 -02:00
Tomáš Votruba
bb4938db6e
Merge pull request #241 from carusogabriel/use-node-factory
Use NodeFactory by Rector
2017-12-27 19:59:31 +01:00
Gabriel Caruso
607c59d5ae Create createString method in NodeFactory and use it 2017-12-27 15:41:45 -02:00
Gabriel Caruso
ba367e04d1 Remove duplicated method createVariablePropertyArrayFetch 2017-12-27 15:12:25 -02:00
Gabriel Caruso
89b96c345f Remove duplicated method createStaticMethodCallWithArgs 2017-12-27 15:08:25 -02:00
Gabriel Caruso
64ac903e26 Use NodeFactory in more places 2017-12-27 14:46:47 -02:00
Gabriel Caruso
fd5b989aea Use NodeFactory in PropertyToMethodRector 2017-12-27 14:26:02 -02:00
Gabriel Caruso
56ddac9a03 Use NodeFactory in AssertTrueFalseInternalTypeToSpecificMethodRector 2017-12-27 13:32:24 -02:00
Gabriel Caruso
44ea49b4dc Use NodeFactory in PHPUnit SpecificMethod Rectors 2017-12-27 13:28:30 -02:00
Tomáš Votruba
cef9047d1b
Merge pull request #237 from rectorphp/typeresolver-as-service
Use NodeTypeResolver as service to prevent premature type resolving for every node - part #1
2017-12-27 14:23:42 +01:00
TomasVotruba
83ec99fe6d phpstan fixes 2017-12-27 14:13:59 +01:00
TomasVotruba
c5dd6cce0d fix cs 2017-12-27 13:52:43 +01:00
TomasVotruba
deaa5cc870 NodeType and CallerType resolver - use cache and make result unique 2017-12-27 13:50:18 +01:00
TomasVotruba
f29ca6a531 use dataProvider 2017-12-27 13:50:00 +01:00
TomasVotruba
77845110e9 use dataProvider 2017-12-27 13:44:45 +01:00
TomasVotruba
0faa08fbf0 more use of NodeCallerTypeResolver 2017-12-27 13:39:44 +01:00
TomasVotruba
82f060a3a2 cleanup NodeCallerType test 2017-12-27 13:37:54 +01:00
TomasVotruba
216113ba61 more use of NodeCallerTypeResolver 2017-12-27 13:35:06 +01:00
TomasVotruba
7f964fd50a use IdentifierRenamer 2017-12-27 13:33:35 +01:00
TomasVotruba
1d435beffe cleanup dead code 2017-12-27 13:30:45 +01:00
TomasVotruba
b0641991ba more use of NodeTypeResolver 2017-12-27 13:30:45 +01:00
TomasVotruba
dc5780f175 more use of NodeTypeResolver 2017-12-27 13:30:45 +01:00
TomasVotruba
2cac0bb3bc improve cache call 2017-12-27 13:30:45 +01:00
TomasVotruba
889e6bc4d9 NodeTypeResolver - cache results 2017-12-27 13:30:45 +01:00
TomasVotruba
4d97785270 fix cs 2017-12-27 13:30:45 +01:00
TomasVotruba
6f1232fe15 more use of NodeTypeResolver 2017-12-27 13:30:45 +01:00
TomasVotruba
027f46e6cf more use of NodeTypeResolver 2017-12-27 13:30:45 +01:00
TomasVotruba
0565d2776b more use of NodeTypeResolver 2017-12-27 13:29:38 +01:00
TomasVotruba
d4ed83287f more use of NodeTypeResolver 2017-12-27 13:28:44 +01:00
TomasVotruba
71af2d7288 more use of NodeTypeResolver 2017-12-27 13:28:44 +01:00
TomasVotruba
61d2cb26fd add NodeTypeResolver to more services 2017-12-27 13:28:44 +01:00
TomasVotruba
6f3dd6a17a make ParentTypehintedArgumentRector use of NodeTypeResolver 2017-12-27 13:28:44 +01:00
TomasVotruba
9c1a6e4376 remove unused AssignAnalyzer 2017-12-27 13:28:44 +01:00
TomasVotruba
706f2bb819 StaticMethodCallAnalyzer - make use of NodeTypeResolver 2017-12-27 13:28:44 +01:00
TomasVotruba
196f931897 update tests 2017-12-27 13:28:44 +01:00
TomasVotruba
a6fb9d91b2 update tests 2017-12-27 13:28:44 +01:00
TomasVotruba
3c784bccdb update tests 2017-12-27 13:28:44 +01:00
TomasVotruba
3c54e2d69b fix cs 2017-12-27 13:28:44 +01:00
TomasVotruba
6d0277f06f update tests 2017-12-27 13:28:44 +01:00
TomasVotruba
feedc83bad update tests 2017-12-27 13:28:44 +01:00
TomasVotruba
7c396dedfc misc 2017-12-27 13:28:44 +01:00
TomasVotruba
04da0ec577 use own Abstract Test for NodeCallerType tests 2017-12-27 13:28:44 +01:00
TomasVotruba
5d7997fd9e move Abstract Test to specific dir 2017-12-27 13:28:44 +01:00
TomasVotruba
3bbe5e89cf update tests 2017-12-27 13:28:44 +01:00
TomasVotruba
e7f84a3149 update tests 2017-12-27 13:28:44 +01:00
TomasVotruba
2656649ddf update tests 2017-12-27 13:28:44 +01:00
TomasVotruba
31030b7139 update tests 2017-12-27 13:28:44 +01:00
TomasVotruba
26c5979fa6 update tests 2017-12-27 13:28:44 +01:00
TomasVotruba
39e875423d drop unused lazy approach 2017-12-27 13:28:44 +01:00
TomasVotruba
cdee148930 [NodeTypeResolver] update README to prefer service 2017-12-27 13:28:44 +01:00