1952 Commits

Author SHA1 Message Date
TomasVotruba
20a2e8a18a prepare for MethodCallCallerTypeResolver cleanup 2018-01-08 00:50:18 +01:00
TomasVotruba
28bfe42fca drop StaticCallCallerTypeResolver, not needed 2018-01-08 00:47:15 +01:00
Gabriel Caruso
6972fea17d The exclude method is case sensitive, so, let's cover all possibilities 2018-01-07 13:20:33 -02:00
Gabriel Caruso
8c6f39ca4b Exclude fixtures folder from the process command 2018-01-07 12:56:04 -02:00
Gabriel Caruso
7526e5f2f8 Ignore error for now as is to complex to solve 2018-01-07 12:31:32 -02:00
TomasVotruba
2e2c77baa0 slowly remove CallerTypeNode resolving, use directly TypeResolver 2018-01-07 15:29:30 +01:00
Gabriel Caruso
c7028b9016 [AssertCompareToSpecificMethodRector] Fix bug with ArrayDimFetch Nodes 2018-01-07 12:09:32 -02:00
TomasVotruba
85a0972775 StaticMethodCallAnalyzer: drop dependency on MethodCallCaller type 2018-01-07 14:59:37 +01:00
TomasVotruba
1389e548b0 prepare dummy stubs 2018-01-07 14:52:36 +01:00
TomasVotruba
88ad6edb21 improve test comment 2018-01-07 14:21:02 +01:00
TomasVotruba
3baeed1eb0 use Option class for source 2018-01-07 14:19:35 +01:00
TomasVotruba
428bafb136 use Option class for options to prevent typos and human-memory leaks 2018-01-07 14:19:17 +01:00
TomasVotruba
6fcb3bfbdb test: use data provider 2018-01-07 14:03:13 +01:00
TomasVotruba
2962db8c33 fix cs 2018-01-07 13:28:51 +01:00
TomasVotruba
2ee94220ab fix ReflectionFunctionAbstract type 2018-01-07 13:28:36 +01:00
TomasVotruba
a384bbc2c3 NodeTypeResolver: make tests pass, improve complexity 2018-01-07 13:27:22 +01:00
TomasVotruba
cf75b07536 ecs: add exclusion from existing class 2018-01-07 13:20:42 +01:00
TomasVotruba
90242bbd89 SmarClassReflector wip 2018-01-07 12:13:44 +01:00
TomasVotruba
d6e8656950 TypeContext: support local function reflection 2018-01-07 12:13:44 +01:00
TomasVotruba
9b313728f8 ProcessCommand: move count of items to report responsibliity to reporter, where it should be 2018-01-07 12:13:44 +01:00
TomasVotruba
951a7d53de composer: use stable packages 2018-01-07 12:13:44 +01:00
TomasVotruba
c0b41478a8 phpstan: add known message error 2018-01-07 12:13:44 +01:00
TomasVotruba
e389f1c125 cleanup 2018-01-07 12:13:44 +01:00
TomasVotruba
fe11f8027e merge MethodResolver to ClassResolver 2018-01-07 12:13:44 +01:00
TomasVotruba
8f1379483c merge MethodResolver to ClassResolver 2018-01-07 12:13:44 +01:00
TomasVotruba
7642500bf3 merge MethodResolver to ClassResolver 2018-01-07 12:13:44 +01:00
TomasVotruba
a92c63f85b AdditionalAutoloader added, inspired by PHPStan 2018-01-07 12:13:44 +01:00
TomasVotruba
a8ed81ec20 decouple AdditionalAutoloader 2018-01-07 12:13:44 +01:00
TomasVotruba
eb0d12448d ProcessCommand: add --autoload-file option 2018-01-07 12:13:44 +01:00
TomasVotruba
2d09efcf48 bin/retor: load nearest vendor 2018-01-07 12:13:44 +01:00
TomasVotruba
ebaa3455de fix cs 2018-01-07 12:13:44 +01:00
TomasVotruba
9c15aa4882 ProcessCommand: move file counting to ProcessCommandRepoter - ommits reference and unnecessary counting 2018-01-07 12:13:44 +01:00
Tomáš Votruba
864e20b57b
Merge pull request #265 from rectorphp/symfony-test-case
Code Cleanup, mostly AbstractRector and Travis speedup
2018-01-07 12:09:14 +01:00
TomasVotruba
e3696a4647 remove test code 2018-01-06 19:54:59 +01:00
TomasVotruba
c7997b1f45 ExpressionAdder: slightly better SplObjectStorage api 2018-01-06 19:52:23 +01:00
TomasVotruba
4128ffcbb8 ExpressionAdder: run only if these are nodes to be added 2018-01-06 19:32:12 +01:00
TomasVotruba
f5aaf95676 more clear naming: prepend => append => add 2018-01-06 19:28:31 +01:00
TomasVotruba
56c1121a68 make PHPUnit TestCase notes more clear 2018-01-06 19:22:36 +01:00
TomasVotruba
5489b744b5 remove extra space 2018-01-06 19:21:57 +01:00
TomasVotruba
a4b45e7cec testing 2018-01-06 19:21:26 +01:00
TomasVotruba
28969cb16a fix cs 2018-01-06 19:21:26 +01:00
TomasVotruba
1183f5d5bb decouple PropertyAdder from ShutdownNodeTravers, apply same approach as ExpressionPrepender 2018-01-06 19:21:26 +01:00
TomasVotruba
ea71b3c0d2 fix cs 2018-01-06 19:21:26 +01:00
TomasVotruba
be84e3e2dc fix cs 2018-01-06 19:21:26 +01:00
TomasVotruba
a433cd784f merge CloningNodeVisitor to StandaloneNodeVisitor 2018-01-06 19:21:26 +01:00
TomasVotruba
0b93167aef cleanup dump 2018-01-06 19:21:26 +01:00
TomasVotruba
9c44979614 NameTypeResolver: move class parent types resolving to SmartClassReflector 2018-01-06 19:21:26 +01:00
TomasVotruba
0e29da53a4 phpstan: clean errors once upon a time 2018-01-06 19:21:26 +01:00
TomasVotruba
8e285ba5bc fix cs 2018-01-06 19:21:26 +01:00
TomasVotruba
8257181fec move most working logic to ExpressionPrepender; NodeVisitor should be only delegator 2018-01-06 19:21:26 +01:00