93 Commits

Author SHA1 Message Date
TomasVotruba
a04b634748 add Doctrine stubs 2018-03-04 15:21:53 +01:00
TomasVotruba
6df98168c0 CommandToConstructorInjection - apply on Command as well 2018-03-03 20:36:23 +01:00
TomasVotruba
3b22a89ff4 add Controller stub 2018-03-03 14:57:52 +01:00
TomasVotruba
67ae727782 use Options constant over string 2018-03-03 14:57:46 +01:00
TomasVotruba
f9d8c34227 add Controller stub 2018-03-03 14:57:31 +01:00
TomasVotruba
5aa0efbe90 add Nette/Object stub 2018-02-21 00:20:03 +01:00
TomasVotruba
ba9cb054c7 SmartClassReflector - skip empty class names [closes #309] 2018-02-08 16:14:30 +01: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
TomasVotruba
a384bbc2c3 NodeTypeResolver: make tests pass, improve complexity 2018-01-07 13:27:22 +01:00
TomasVotruba
90242bbd89 SmarClassReflector wip 2018-01-07 12:13:44 +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
Gabriel Caruso
71c0a2b049 Use array_map to simplify some code 2018-01-03 07:02:01 -02:00
TomasVotruba
8c21c93976 cs fixes 2018-01-02 23:43:45 +01:00
Gabriel Caruso
b8c3f76e21 Clean up packages 2017-12-31 17:08:49 -02:00
TomasVotruba
c0399030d5 SmartClassReflector: rebuild on source change, mainly for tests 2017-12-20 15:03:13 +01:00
TomasVotruba
391fdd114b drop CurrentFileProvider, not needed anymore 2017-12-20 14:31:21 +01:00
TomasVotruba
9054207ac5 SourceLocatorFactory: add performance note 2017-12-20 14:29:44 +01:00
TomasVotruba
0e45d22a96 SourceLocatorFactory: drop EvalLocator, not used 2017-12-20 14:23:58 +01:00
TomasVotruba
544a7fee4b test fix 2017-12-20 13:54:32 +01:00
TomasVotruba
4f0ca69671 SmartClassReflector: create ClassReflector just once for source, instead once per file 2017-12-20 13:34:47 +01:00
TomasVotruba
3230944b17 SourceLocatorFactory: make use of files/directories source 2017-12-20 13:34:18 +01:00
TomasVotruba
6c63b7d10a cache SmartClassReflector 2017-12-20 03:28:09 +01:00
TomasVotruba
ead53dbe46 create common locators just once 2017-12-20 03:23:59 +01:00
TomasVotruba
b7019cece8 do not reflect on invalid types 2017-12-20 03:20:38 +01:00
TomasVotruba
92b23cc6d2 SourceLocatorFactory: pass ComposerLoader 2017-12-20 03:08:26 +01:00
TomasVotruba
deb96928b0 simplify config service PSR4 paths 2017-12-02 13:55:22 +01:00
TomasVotruba
5c703ee72e [NodeTypeResolver] fix for parent classes of method call 2017-11-25 02:10:20 +01:00
TomasVotruba
a74aae8cb4 allow service fetching in tests 2017-11-25 01:12:49 +01:00
TomasVotruba
a303787ba5 add support for VendorSourceLocator - WIP 2017-11-14 05:06:54 +01:00
TomasVotruba
917ff5f7db make ECS part of package, easier to run it [closes #157] 2017-11-10 15:06:03 +01:00
TomasVotruba
e9162f4b1d fix 2017-11-09 15:06:01 +01:00
TomasVotruba
a2097fec4f phpstan lvl 7 2017-11-06 14:54:16 +01:00
TomasVotruba
8a6db417ab phpstan lvl 3 2017-11-06 13:58:51 +01:00
TomasVotruba
3cff336fcf phpstan lvl 2 2017-11-06 13:13:55 +01:00
TomasVotruba
85cbd393e6 rename ClassAnalyzer to correct ClassLikeAnalyzer 2017-11-06 03:45:23 +01:00
TomasVotruba
3dabe99ad0 add test for interface extending interface 2017-11-06 03:45:23 +01:00
TomasVotruba
65c7df925a ClassAnalyzer - improve anonymous class resolving 2017-11-06 03:45:23 +01:00
TomasVotruba
948707ef0b fix 2017-11-06 03:45:23 +01:00
TomasVotruba
4d5954cd77 fix cs 2017-11-02 17:52:36 +01:00
TomasVotruba
80cc9920b4 fix tests 2017-11-02 17:52:02 +01:00
TomasVotruba
77c24420c5 tests run 2017-11-02 17:37:51 +01:00
TomasVotruba
164bb57306 MethodReflector: add support returning multitypes, WIP 2017-11-02 17:24:30 +01:00
TomasVotruba
01499dc001 [BetterReflection] MethodReflector - add support for parent methods Reflecting 2017-11-02 17:08:54 +01:00
TomasVotruba
ca3d8f1609 edge case note 2017-11-02 16:23:55 +01:00
TomasVotruba
15d39a7f15 improve cs 2017-11-02 16:04:28 +01:00
TomasVotruba
b67ebec937 fix static return type 2017-11-02 16:01:12 +01:00