3269 Commits

Author SHA1 Message Date
Tomas Votruba
e398014a97 add guzzle50 init set 2018-08-11 11:57:24 +02:00
Tomas Votruba
2783013a5b Add namespaced function call test 2018-08-11 11:09:44 +02:00
Tomas Votruba
1db0b88115 Add FunctionToStaticCallRector [closes #556] 2018-08-11 11:05:46 +02:00
Tomáš Votruba
cca0fc4f98
Merge pull request #568 from rectorphp/split
Decouple StaticMethodNameReplacerRector
2018-08-11 10:45:25 +02:00
Tomas Votruba
c364ee0b2d update docs 2018-08-11 10:42:40 +02:00
Tomas Votruba
ddac16ceb5 Decouple StaticMethodNameReplacerRector 2018-08-10 21:06:40 +02:00
Tomáš Votruba
9cf3134b92
Merge pull request #567 from rectorphp/update-type-resolver
Improve NodeTypeResolver decoupling
2018-08-10 19:12:00 +02:00
Tomas Votruba
5f82f775aa add .travis.yml to subpackage 2018-08-10 18:56:20 +02:00
Tomas Votruba
1c38169690 decrease complexity of NodeScopeResolver 2018-08-10 17:17:09 +02:00
Tomas Votruba
0685ece179 move responsibility to NodeDecorators and use glue in MetadataNodeVisitor only 2018-08-10 16:45:27 +02:00
Tomas Votruba
009e6ebf03 fix NodeVisitors suffixes 2018-08-10 16:45:27 +02:00
Tomas Votruba
95ba652b78 ecs: add check for NodeVisitorAbstract 2018-08-10 16:45:27 +02:00
Tomas Votruba
b5a3333c5e README: add compiler pass + inspiration 2018-08-10 16:45:27 +02:00
Tomas Votruba
e44a887f73 decouple Scope to TypeAttribute for better NodeTypeResolver usage 2018-08-10 16:45:27 +02:00
Tomas Votruba
b38c7b5272 decouple metadata attributes to MetadataAttributes for better NodeTypeResolver decoupling 2018-08-10 16:45:27 +02:00
Tomas Votruba
0acd7d3a75 update README 2018-08-10 12:25:46 +02:00
Tomas Votruba
9182a5f770 Rename METHOD_CALL to METHOD_CALL_NAME, improve README 2018-08-10 11:28:34 +02:00
Tomas Votruba
9684e5d1c8 cleanup unused constant 2018-08-10 08:35:24 +02:00
Tomas Votruba
2342219033 [NodeTypeResolver] prepare for standalone release 2018-08-10 08:35:21 +02:00
Tomáš Votruba
4fb91f72bc
Merge pull request #565 from rectorphp/symfony-container-fixes
Fix interface suffix property naming, resolve to parent interface if not accessible
2018-08-09 15:09:53 +02:00
Tomas Votruba
3abdb80921 Fix interface suffix property naming, resolve to parent interface if not accessible 2018-08-09 14:51:17 +02:00
Tomáš Votruba
2bbeffc74e
Merge pull request #564 from rectorphp/controller-trait
[FrameworkBundle] Let GetToConstructorInjectionRector work with trait as well
2018-08-09 13:36:05 +02:00
Tomas Votruba
4b9750b399 Keep publish CompilerPass 2018-08-09 12:17:26 +02:00
Tomas Votruba
9ba461f98c fixup! Fix Symfony ContainerFactory 2018-08-09 12:15:55 +02:00
Tomas Votruba
847fe92738 Fix Symfony ContainerFactory 2018-08-09 12:15:50 +02:00
Tomas Votruba
4f9f86900c fixup! fix variable override 2018-08-09 12:06:50 +02:00
Tomas Votruba
98281b8b8e fix variable override 2018-08-09 12:05:05 +02:00
Tomas Votruba
1eb125fa72 Add isTypesAndMethod() to MethodCallAnalyzer 2018-08-09 11:35:47 +02:00
Tomas Votruba
6e931c857c GetToConstructorInjectionRector - add test case for parent class with trait 2018-08-09 11:30:09 +02:00
Tomas Votruba
f3348c84d8 [NodeTypeResolver] Fix missing parent traits in class reflection types 2018-08-09 11:23:57 +02:00
Tomas Votruba
24c6cc3d9f [FrameworkBundle] Let GetToConstructorInjectionRector work with trait as well 2018-08-09 11:14:35 +02:00
Tomáš Votruba
218806227b
Merge pull request #563 from rectorphp/build-fix
Fix build of rector-prefixed
2018-08-09 11:00:54 +02:00
Tomas Votruba
9d690635b2 fix old Symfony missing class 2018-08-09 10:54:45 +02:00
Tomas Votruba
be34cc946c cleanup unused constant in rector-prefixed 2018-08-09 10:04:10 +02:00
Tomas Votruba
2a67452445 static fixes 2018-08-09 10:03:18 +02:00
Tomas Votruba
d93e1d5bd6 composer: bump to Symplify 4.7-dev + php-scoper 0.9 2018-08-09 09:58:35 +02:00
Tomáš Votruba
337d069df7
Merge pull request #562 from rectorphp/container-get-to-construcotr-rector-alias
[FrameworkBundle] Add test for services alias as well
2018-08-09 09:41:40 +02:00
Tomas Votruba
ce88bbf56f composer: remove unused require-dev 2018-08-08 23:56:34 +02:00
Tomas Votruba
d42c3e711d fixup! make tests pass 2018-08-08 22:09:44 +02:00
Tomas Votruba
2d3f64532f make tests pass 2018-08-08 22:09:44 +02:00
mssimi
9274496121 ContainerGetToConstructorInjectionRector alias tests 2018-08-08 22:09:44 +02:00
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