82 Commits

Author SHA1 Message Date
Tomas Votruba
2125e24e1f normalize printer to keep 1 single line in the end + apply to code 2018-10-27 14:57:53 +02:00
Tomas Votruba
075707447a [Symfony] Add FormTypeInstanceToClassConstRector 2018-10-24 12:06:35 +02:00
Tomas Votruba
09027d06eb resolve phpstan reports 2018-10-22 18:02:36 +02:00
Tomas Votruba
a9ce1c8e4c Add ArrayAnalyzer and CascadeValidationFormBuilderRector 2018-10-22 14:12:53 +02:00
Tomas Votruba
d2bde9f3d4 [Symfony] Add /ReadOnlyOptionToAttributeRector [closes #595] 2018-10-21 19:19:15 +02:00
Tomas Votruba
a65faf7597 [Symfony] Refactor OptionNameRector to typed checks 2018-10-21 18:50:52 +02:00
Tomas Votruba
4cee626ee4 Remove MethodArgumentAnalyzer 2018-10-21 15:38:21 +02:00
Tomas Votruba
79910b73c6 make GetRequest use unique names [closes #610] 2018-10-21 14:27:50 +02:00
Tomas Votruba
7dcde279f9 make use of NameResolver in Rector 2018-10-21 14:03:20 +02:00
Tomas Votruba
3233316053 Make ConstructorMethodBuilder respect parent constructor 2018-10-20 09:38:49 +02:00
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