Commit Graph

2018 Commits

Author SHA1 Message Date
TomasVotruba
37a552ced7 test naming 2018-01-08 02:48:12 +01:00
TomasVotruba
9b1d5dff92 array_unique to right place 2018-01-08 02:46:11 +01:00
Tomáš Votruba
ef4ee1df3a
Merge pull request #275 from carusogabriel/bug/array-dim-fetch
[AssertCompareToSpecificMethodRector] Fix bug with ArrayDimFetch Nodes
2018-01-08 02:37:57 +01:00
Tomáš Votruba
e68827f398
Merge pull request #276 from carusogabriel/patch-1
[README] Match examples
2018-01-08 02:37:08 +01:00
Gabriel Caruso
12b8b571e7
[README] Match examples 2018-01-07 23:10:10 -02:00
Gabriel Caruso
359e85a586 Use toString instead of getFirst when getting the $methodName 2018-01-07 23:06:42 -02:00
TomasVotruba
3ac55924ea fix phpstan 2018-01-08 01:55:00 +01:00
TomasVotruba
ba2957e29a fix cs 2018-01-08 01:54:07 +01:00
Gabriel Caruso
072ae66b06 Decouple verification of second argument value into isNamedFunction 2018-01-07 22:46:01 -02:00
TomasVotruba
c5e16014b9 test: improve data provider for NestedMethodCallTest 2018-01-08 01:39:22 +01:00
TomasVotruba
8fd4d246b8 make tests pass 2018-01-08 01:34:54 +01:00
TomasVotruba
17adbfe353 finalize MethodCallTypeResolver 2018-01-08 01:27:04 +01:00
TomasVotruba
dfd33389cb cleanup CallerTypeNodeVisitor 2018-01-08 01:26:56 +01:00
TomasVotruba
f0b519c2c6 move tests to TypeNodeResolver 2018-01-08 01:26:34 +01:00
TomasVotruba
785a010b7d remove MethodCallCallerTypeResolver, not needed anymore 2018-01-08 01:26:07 +01:00
TomasVotruba
4e929d579d drop NodeCallerTypeResolver, use MethodCallCallerTypeResolver directly 2018-01-08 01:01:31 +01:00
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