606 Commits

Author SHA1 Message Date
Tomáš Votruba
f699911d8a
Merge pull request #278 from carusogabriel/refactoring
Refactoring
2018-01-11 22:53:31 +01:00
Gabriel Caruso
3839e68b4e Invert the logic when getting the method name 2018-01-11 17:41:48 -02:00
Gabriel Caruso
6450a6b68b [Fix] Object of class PhpParser\Node\{} could not be converted to string 2018-01-11 17:24:37 -02:00
Gabriel Caruso
0fda92ff08 Use bool return of functions and comparisonsas return 2018-01-11 17:24:12 -02:00
Gabriel Caruso
b1a86aa8c1 Use Null Coalesce Operator 2018-01-11 17:24:12 -02:00
Gabriel Caruso
8e007f0264 [DocBlockAnalyzer] Fix getTagsByName return 2018-01-10 02:33:34 -02:00
TomasVotruba
e7c4bb4293 cleanup unused property 2018-01-08 21:27:10 +01:00
TomasVotruba
ed2e5b9d02 cleanup TypeNodeVisitor, move TypeContext class resolving to PropertyTypeResolver 2018-01-08 21:26:14 +01:00
TomasVotruba
e32ed6a300 simplify PropertyFetchTypeResolver 2018-01-08 21:25:56 +01:00
TomasVotruba
54f74cf756 cs 2018-01-08 21:01:04 +01:00
TomasVotruba
6a5ab1e17d fix cs 2018-01-08 21:00:57 +01:00
TomasVotruba
5b577dfcba fix cs 2018-01-08 21:00:51 +01:00
TomasVotruba
2738890939 improve README 2018-01-08 21:00:29 +01:00
TomasVotruba
f752d649b4 use dataProvider + add null support 2018-01-08 21:00:18 +01:00
TomasVotruba
cdcb2ddccf cleanup NodeValueResolver 2018-01-08 21:00:07 +01:00
TomasVotruba
635b5059ee typo 2018-01-08 20:58:25 +01:00
TomasVotruba
ac1da22a23 use dataProvider 2018-01-08 20:58:21 +01:00
TomasVotruba
9fa61261da use dataProvider 2018-01-08 20:58:18 +01:00
TomasVotruba
4195f5a735 use dataProvider 2018-01-08 20:58:14 +01:00
TomasVotruba
077383813b use dataProvider 2018-01-08 20:58:09 +01:00
TomasVotruba
ce3dcd0251 use dataProvider 2018-01-08 20:57:53 +01:00
TomasVotruba
23cf8c65ea use dataProvider 2018-01-08 20:57:45 +01:00
TomasVotruba
575a408963 use dataProvider 2018-01-08 20:57:22 +01:00
TomasVotruba
47e7ecca57 [PerNodeTypeResolver] add @covers annotation to test to make it easier to go to responsible class 2018-01-08 20:53:58 +01:00
TomasVotruba
1832eb0b51 remove WIP 2018-01-08 20:39:42 +01:00
TomasVotruba
c42ddc6e88 fix covers annotation 2018-01-08 20:21:47 +01:00
TomasVotruba
3fc4d509d3 decoupling 2018-01-08 19:24:20 +01:00
TomasVotruba
15d0f04998 get rid of CALLER_TYPES once and for all 2018-01-08 19:18:05 +01:00
TomasVotruba
334a2a7f71 note 2018-01-08 19:17:04 +01:00
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
TomasVotruba
3ac55924ea fix phpstan 2018-01-08 01:55:00 +01:00
TomasVotruba
ba2957e29a fix cs 2018-01-08 01:54:07 +01: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
TomasVotruba
2e2c77baa0 slowly remove CallerTypeNode resolving, use directly TypeResolver 2018-01-07 15:29:30 +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
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