115 Commits

Author SHA1 Message Date
TomasVotruba
9c7cbc65ad [rector] apply on the rest 2020-07-19 21:05:14 +02:00
TomasVotruba
c2c1066374 [rector] apply on rules 2020-07-19 20:52:42 +02:00
TomasVotruba
0944b75f7e correct namespace in configs 2020-07-18 11:58:17 +02:00
TomasVotruba
f8c50ee885 switch config.yaml to config.php 2020-07-16 13:45:20 +02:00
TomasVotruba
0c816d60f8 [config] switch rules config from YAML to PHP 2020-07-16 12:48:54 +02:00
TomasVotruba
86caa737f9 [Symfony] Add RemoveDefaultGetBlockPrefixRector 2020-07-13 19:06:24 +02:00
TomasVotruba
4c88e5dc5a add collection entry_type conversion to FormTypeInstanceToClassConstRector 2020-07-13 18:17:55 +02:00
TomasVotruba
9106284fa7 decouple BuilderFormNodeFactory, ConfigureOptionsNodeFactory 2020-07-13 17:44:30 +02:00
TomasVotruba
775a594ab9 use higher node instead of parent traversing 2020-07-13 16:28:34 +02:00
TomasVotruba
a275dfada1 provide some context in rule description 2020-07-13 16:09:30 +02:00
TomasVotruba
73a8163b5d add support for options to entry_options rename in collection 2020-07-13 15:49:42 +02:00
TomasVotruba
752515bd73 add support for options to entry_options rename in collection 2020-07-13 15:42:26 +02:00
TomasVotruba
fbebc8aa2d make use of AbstractFormAddRector 2020-07-13 11:26:29 +02:00
TomasVotruba
98ca70c00a [Symfony] Add ChangeCollectionTypeOptionNameFromTypeToEntryTypeRector 2020-07-13 11:19:37 +02:00
TomasVotruba
1a8575096f [Symfony] Add ChangeCollectionTypeOptionTypeFromStringToClassReferenceRector 2020-07-13 01:56:35 +02:00
TomasVotruba
166ee211ec move StringFormTypeToClassRector to symfony30 set 2020-07-12 22:56:51 +02:00
TomasVotruba
558684f327 tyding 2020-07-12 22:29:20 +02:00
TomasVotruba
6cff3b18f7 decouples types to constants 2020-07-12 21:41:21 +02:00
TomasVotruba
ee291d1fdc use strings over ::class in type detection, as they ge tprifexed by phar builder 2020-07-12 16:38:04 +02:00
TomasVotruba
8ba88bad46 add custom-xml support to form type 2020-07-12 14:20:14 +02:00
TomasVotruba
586249c794 [Symfony] add Kernel support to ChangeFileLoaderInExtensionAndKernelRector 2020-07-09 18:21:31 +02:00
TomasVotruba
50fded4abe [Symfony] Extend ChangeFileLoaderInExtensionRectorTest to make it configurable 2020-07-09 14:35:57 +02:00
TomasVotruba
156c31ee6d [Symfony] Add ChangeXmlToYamlFileLoaderInExtensionRector 2020-07-07 11:51:52 +02:00
Michael Steenbeek
34ab9b2ca8
Also fix the typo in ContainerBuilderCompileEnvArgumentRector.php 2020-07-05 12:33:42 +02:00
TomasVotruba
574de08dfa remove issue-tests, already covered in specific rule tests 2020-07-02 13:40:51 +02:00
TomasVotruba
52acc54005 merge PropertyNaming to one class 2020-07-01 23:42:23 +02:00
TomasVotruba
a8a6e7bcad rename file to fileInfo 2020-06-30 01:45:05 +02:00
TomasVotruba
547e15099d use explicit xBuilder classes to prevent typos and PHPStan and PHPStorm confussion 2020-06-30 01:34:19 +02:00
TomasVotruba
0cb82c2a6f apply new Naming_ 2020-06-30 00:57:38 +02:00
TomasVotruba
7f49658112 change test(string ) to test(SmartFileInfo ) in tests 2020-06-25 20:02:36 +02:00
andyexeter
cb46829aa3 Fix cs 2020-06-25 16:35:54 +01:00
andyexeter
b3c955b889 Replace Symfony imports with fully qualified class names 2020-06-25 16:35:54 +01:00
Andy Palmer
283fb4941e
Include AbstractController in allowed object types 2020-06-25 15:50:14 +01:00
TomasVotruba
c504062ec2 add typed property if on PHP 7.4 2020-06-24 15:09:50 +02:00
TomasVotruba
2064255340 fix prefixed GetToConstructorInjectionRector classes 2020-06-06 18:31:09 +02:00
TomasVotruba
2e78850f69 allow non-suffix dependency and fix no-route tag 2020-06-06 13:16:19 +02:00
TomasVotruba
4f41f06e5d apply Rector 2020-05-09 22:13:01 +02:00
TomasVotruba
103a59b5b6 add isLocalMethodCall names 2020-05-07 00:30:00 +02:00
TomasVotruba
b0bd524e53 apply constant decouple 2020-05-06 23:40:31 +02:00
TomasVotruba
9c65e7ac75 [SOLID] Add RepeatedLiteralToClassConstantRector 2020-05-06 23:36:28 +02:00
TomasVotruba
491a417842 various @todo resolved 2020-05-06 17:37:27 +02:00
TomasVotruba
ef5501d06c various cs cleanup 2020-05-03 21:33:36 +02:00
TomasVotruba
f64f468ac1 apply cs 2020-05-03 21:23:58 +02:00
TomasVotruba
00b3184eb3 [Naming] Add RenamePropertyToMatchTypeRector 2020-05-02 22:36:11 +02:00
TomasVotruba
cae1c0a727 break line of long example 2020-05-02 11:51:01 +02:00
TomasVotruba
5fb73c2309 TagValueNode refactoring 2020-04-29 12:54:26 +02:00
TomasVotruba
1bf62ac1c7 [cs] sort private methods by call order and property by complexity 2020-04-26 02:57:47 +02:00
TomasVotruba
8082b3a2f2 [PHP 8.0] Add str_starts_with 2020-04-23 23:06:36 +02:00
TomasVotruba
98b1277549 various suffix fixes 2020-04-23 22:31:58 +02:00
TomasVotruba
d865f69793 [DX] Add validate fixture suffix 2020-04-23 21:36:19 +02:00