1953 Commits

Author SHA1 Message Date
Gabriel Caruso
2c46e26cfa Rename composer all to composer complete-check 2017-12-28 18:27:16 -02:00
Gabriel Caruso
b2034df131 Improve README 2017-12-28 18:13:13 -02:00
Gabriel Caruso
b65b3aa971 Force return bool while processing files 2017-12-28 16:24:01 -02:00
Gabriel Caruso
e07cae9f8c Missing type-hiting in closure 2017-12-28 15:32:02 -02:00
Gabriel Caruso
994dae2a83 Minor text and sprintf changes 2017-12-28 15:27:32 -02:00
Gabriel Caruso
5dfda25bb4 Create ConsoleStyle 2017-12-28 05:56:00 -02:00
Tomáš Votruba
8c3cbdee34
Merge pull request #245 from carusogabriel/patch-1
Explicit install Rector dev-master
2017-12-28 07:42:51 +01:00
Gabriel Caruso
32eda23320 Strict return types to int and bool 2017-12-28 03:58:20 -02:00
Gabriel Caruso
6fad0b783e Fix singulars 2017-12-28 03:08:56 -02:00
Gabriel Caruso
5ede7d7c61 Return if the file was changed in processFile 2017-12-28 02:31:23 -02:00
Gabriel Caruso
55f38d5ba6 Improve ProcessCommand by reporting changed files 2017-12-28 02:15:29 -02:00
Gabriel Caruso
8aea58bb1e
Explict install Rector dev-master 2017-12-28 00:58:11 -02:00
Tomáš Votruba
f15348069d
Merge pull request #244 from carusogabriel/use-method-call-node-factory
Use MethodCallNodeFactory by Rector
2017-12-27 22:39:45 +01:00
Gabriel Caruso
8148da765e Use MethodCallNodeFactory in UseWithAliasRector 2017-12-27 18:54:24 -02:00
Gabriel Caruso
be67cd3435 Use MethodCallNodeFactory in ToStringToMethodCallRector 2017-12-27 18:47:00 -02:00
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