72 Commits

Author SHA1 Message Date
Tomas Votruba
70ea05352d [JMS] Add JmsInjectAnnotationRector 2018-10-19 08:04:16 +02:00
Tomas Votruba
c1901ba9c0 Add ClassPropertyCollectorTrait 2018-10-18 17:31:32 +02:00
Tomas Votruba
966882e489 GetToConstructorInjectionRector - merge type args 2018-10-17 12:19:11 +02:00
Tomas Votruba
ba0c3eea95 apply this Rector to code 2018-10-15 21:49:45 +08:00
Tomas Votruba
5745eab201 apply this Rector to code 2018-10-15 21:04:55 +08:00
Tomas Votruba
da570b7205 make use of BetterStandardPrinterTrait in Rectors 2018-10-15 18:09:27 +08:00
Tomas Votruba
5deb94f9ff unite refactor(node) naming to node, to make clear the main argument name 2018-10-15 14:45:34 +08:00
Tomas Votruba
d4009b3888 Add NameAnalyzerTrait 2018-10-15 14:36:25 +08:00
Tomas Votruba
3cb093f87f init getTypes() remove in other analyzers 2018-10-15 10:35:45 +08:00
Tomas Votruba
9b569f6c44 make use of TypeAnalyzerTrait 2018-10-15 08:14:21 +08:00
Tomas Votruba
0934960e6d make use of CallAnalyzer to prevent Var string errors with non-string funciton and method call names 2018-10-13 23:13:13 +08:00
Tomas Votruba
70985f695c Fix GetRequestRector method name resolving of non-string name [closes #646] 2018-10-12 10:41:35 +08:00
Tomas Votruba
f435da5a77 fix Symfony Bridge 2018-09-27 13:56:47 +08:00
Tomas Votruba
3cf4bf9563 drop METHOD_CALL_NAME, use Analyzer instead 2018-09-21 07:52:12 +02:00
Tomas Votruba
f07480c773 apply thecodingmachine/safe 2018-09-21 07:50:14 +02:00
Tomas Votruba
ea54e53cea simplify FormTypeStringToTypeProvider 2018-09-21 07:50:14 +02:00
Tomas Votruba
5c3067c95d fix StringFormTypeToClassRector 2018-09-21 07:50:14 +02:00
Tomas Votruba
b0652d0f65 fix get request for GetRequestRector [closes #594] 2018-09-11 20:46:11 +02:00
Tomas Votruba
4c04f51ee5 fix GetRequestRector fully qualified namespace [closes #608] 2018-09-11 20:09:50 +02:00
Tomas Votruba
efe898ca0f [YamlRector] drop isCandidate() to be consistent with PhpRectorInterface API [closes #617] 2018-09-11 19:38:24 +02:00
Tomas Votruba
1c51f5d9bf allow loading --config and --level together [closes #613] 2018-08-30 22:23:51 +02:00
Tomas Votruba
e09bfd06b7 add File suffix and specific variable content case 2018-08-29 12:17:33 +02:00
Tomas Votruba
9f2dbb7822 add support for various quotes 2018-08-29 12:05:29 +02:00
Tomas Votruba
ae994a0efd [Symfony] Add ParseFileRector [closes #600] 2018-08-28 18:27:13 +02:00
Tomas Votruba
e6f66a726b revert removed Autowire-Public-Default compiler passes, they were messy 2018-08-21 00:28:20 +02:00
Tomas Votruba
b9c9005d78 manual update 2018-08-15 11:11:15 +02:00
Tomas Votruba
ff4315b0d3 Apply MergeIsCandidateRector on Rectro code 2018-08-15 11:11:15 +02:00
Tomas Votruba
44e5cf4adf fix cs 2018-08-14 13:44:33 +02:00
Tomas Votruba
af316e4918 merge MetadataAttribute, TypeAttribute and Attribute to single Attribute 2018-08-14 13:29:14 +02:00
Tomas Votruba
5571f83bf3 merge BetterPhpDocParser to NodeTypeResolver, add config.yml for each package and load it by default 2018-08-13 21:59:28 +02:00
Tomas Votruba
c09cbb6001 move BetterNodeFinder to Utils package 2018-08-13 20:45:58 +02:00
Tomas Votruba
eca7a256eb remove NamespaceResolver check from NodeScopeResolver 2018-08-13 18:17:34 +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
b38c7b5272 decouple metadata attributes to MetadataAttributes for better NodeTypeResolver decoupling 2018-08-10 16:45:27 +02:00
Tomas Votruba
9182a5f770 Rename METHOD_CALL to METHOD_CALL_NAME, improve README 2018-08-10 11:28:34 +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
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
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
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
ac1ca7dfda make PHPStan service part of Rector container 2018-08-06 14:05:44 +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
ac40adfd9f improve VariableTypeResolver 2018-08-06 12:35:26 +02:00