3228 Commits

Author SHA1 Message Date
Tomas Votruba
a67a7bdf43 fix cs 2018-08-08 21:52:26 +02:00
Tomáš Votruba
02fa25d458
Merge pull request #544 from rectorphp/scope-phpstan
Use PHPStan Scope over custom Reflection and own type resolution
2018-08-08 09:45:15 +02:00
Tomas Votruba
86953070b9 remove commented code from test 2018-08-07 10:37:07 +02:00
Tomas Votruba
d8eff45b02 remove unused methods from NodeFactory 2018-08-07 08:21:18 +02:00
Tomas Votruba
54805f1df5 cleanup forgotten comments 2018-08-07 08:18:41 +02:00
Tomas Votruba
b056cc84f0 merge ClassType and InterfaceType 2018-08-07 08:18:41 +02:00
Tomas Votruba
49d7cd0067 cleanup 2018-08-07 08:18:41 +02:00
Tomas Votruba
21fb41abd9 decouple ParamTypeResolver 2018-08-07 08:18:41 +02:00
Tomas Votruba
85aea7d8f8 decouple VariableTypeResolver and TypeToStringResolver 2018-08-07 08:18:41 +02:00
Tomas Votruba
023270a1b3 decopule PropertyTypeResolver 2018-08-06 23:41:01 +02:00
Tomas Votruba
a2eac6c719 remove NodeTypeResolverAwareInterface 2018-08-06 23:36:48 +02:00
Tomas Votruba
806f7da739 cs fixes 2018-08-06 14:16:17 +02:00
Tomas Votruba
759b213690 move PHPStanNodeScopeResolver under PHPStan namespace 2018-08-06 14:10:16 +02:00
Tomas Votruba
a13e935a6a bump min php-parser deps 2018-08-06 14:05:44 +02:00
Tomas Votruba
da1a34a1f9 cleanup unused code 2018-08-06 14:05:44 +02:00
Tomas Votruba
37d8499431 drop BetterReflection package 2018-08-06 14:05:44 +02:00
Tomas Votruba
ac1ca7dfda make PHPStan service part of Rector container 2018-08-06 14:05:44 +02:00
Tomas Votruba
3bcc6e5e9d remove unused MethodReflector, PropertyReflector, slim SmartClassReflector 2018-08-06 12:35:26 +02:00
Tomas Votruba
72353aed25 remove unused ConstructorPropertyTypesExtractor 2018-08-06 12:35:26 +02:00
Tomas Votruba
1c8572b227 fix OrderTest 2018-08-06 12:35:26 +02:00
Tomas Votruba
4316e75123 travis: output to file 2018-08-06 12:35:26 +02:00
Tomas Votruba
ffb62b6185 Symfony Rectors fixes 2018-08-06 12:35:26 +02:00
Tomas Votruba
217a9de40c fix VarDumperTestTraitMethodArgsRector 2018-08-06 12:35:26 +02:00
Tomas Votruba
7f6b089b09 fix PropertyAssignToMethodCallRector 2018-08-06 12:35:26 +02:00
Tomas Votruba
ac40adfd9f improve VariableTypeResolver 2018-08-06 12:35:26 +02:00
Tomas Votruba
a9533b7ecb cleanup & fixes 2018-08-06 12:35:26 +02:00
Tomas Votruba
f581f7dabe Turn VariableTypeResolver to PHPStan reflection 2018-08-06 12:35:26 +02:00
Tomas Votruba
280864873b remove unused own NodeTypeResolver replaced by PHPStan 2018-08-06 12:35:26 +02:00
Tomas Votruba
8b0b0b468e fix PhpParser Rectors 2018-08-06 12:35:26 +02:00
Tomas Votruba
0bed1c2711 fix PHPUnit Rectors 2018-08-06 12:35:26 +02:00
Tomas Votruba
12c3909ea3 Turn InterfaceTypeResolver to BetterReflection 2018-08-06 12:35:26 +02:00
Tomas Votruba
915fec0ff8 Turn InterfaceTypeResolver to PHPStan reflection 2018-08-06 12:35:26 +02:00
Tomas Votruba
13e2ed9fac Turn ClassTypeResolver to PHPStan reflection 2018-08-06 12:35:26 +02:00
Tomas Votruba
b2eae61cb6 fix classReflection resolving for Class_ 2018-08-06 12:35:26 +02:00
Tomas Votruba
56af99db3b remove unused own NodeTypeResolver replaced by PHPStan 2018-08-06 12:35:26 +02:00
Tomas Votruba
e6ea62bbf1 merge ScopeToTypeResolver to NodeTypeResolver 2018-08-06 12:35:26 +02:00
Tomas Votruba
e67a103b2c remove TYPES constant 2018-08-06 12:35:26 +02:00
Tomas Votruba
e16cdd80f2 use service type resolving over global one 2018-08-06 12:35:26 +02:00
Tomas Votruba
ec2e0cb380 use service type resolving over global one 2018-08-06 12:35:26 +02:00
Tomas Votruba
a5f44c997d use service type resolving over global one 2018-08-06 12:35:26 +02:00
Tomas Votruba
3e27db2411 use service type resolving over global one 2018-08-06 12:35:26 +02:00
Tomas Votruba
902bc509e0 use service type resolving over global one 2018-08-06 12:35:26 +02:00
Tomas Votruba
141b1e53e0 use service type resolving over global one 2018-08-06 12:35:26 +02:00
Tomas Votruba
9e7e84ecdd add NameResolver check 2018-08-06 12:35:26 +02:00
Tomas Votruba
583a8b5ef3 drop laravel-to-symfony level, too poor to be useful 2018-08-06 12:35:26 +02:00
Tomas Votruba
65a0b5bed3 fix too soon name resolving 2018-08-06 12:35:26 +02:00
Tomas Votruba
c61296741b use service type resolving over global one 2018-08-06 12:35:26 +02:00
Tomas Votruba
430d423256 use service type resolving over global one 2018-08-06 12:35:26 +02:00
Tomas Votruba
f44370e6c7 use service type resolving over global one 2018-08-06 12:35:26 +02:00
Tomas Votruba
20b7f9c221 use service type resolving over global one 2018-08-06 12:35:26 +02:00