80 Commits

Author SHA1 Message Date
Tomas Votruba
154a4e4012 Fix ContainerGetToConstructorInjectionRector to add parent::__construct() to commands 2019-07-04 12:37:01 +03:00
Tomas Votruba
27a824d9c2 [Symfony] Fix GetRequestRector overlap to non-controllers 2019-06-15 15:40:50 +02:00
Tomas Votruba
7c60f52450 skip analysis of new anonymous classes in method call [closes #1574] 2019-06-07 14:07:48 +02:00
Tomas Votruba
b91749477f add MagicEventeDispatcher test case for RemoveExtraParametersRector 2019-06-05 18:06:07 +02:00
Tomas Votruba
4a3fee7223 make test Symfony back and forth compatible 2019-06-05 17:48:40 +02:00
Tomas Votruba
f046ed6457 remove redundant class constant in MakeDispatchFirstArgumentEventRector 2019-06-05 17:48:40 +02:00
Tomas Votruba
bdabc78cf5 remove redundant class constant in MakeDispatchFirstArgumentEventRector 2019-06-05 16:37:54 +02:00
Tomas Votruba
590c98cf52 [Symfony] Add MakeCommandLazyRector 2019-06-04 13:54:44 +03:00
Tomas Votruba
068329b141 [Symfony] Add MakeCommandLazyRector 2019-06-02 18:06:51 +03:00
Tomas Votruba
a0bb1ed604 cs: fix array indent 2019-05-28 20:11:19 +02:00
Tomas Votruba
3ab113cf53 [Symfony] Add MakeDispatchFirstArgumentEventRector 2019-05-09 11:58:44 +02:00
Tomas Votruba
faa737fe42 [Symfony] Fix GetRequestRector for get non method calls [closes #1356] 2019-04-29 12:58:29 +02:00
Tomas Votruba
c616a0698f restore test case 2019-04-29 12:58:29 +02:00
Tomas Votruba
1fe23d12c8 merge getRectorClass() and getRectorConfiguration() 2019-04-29 07:36:22 +02:00
Tomas Votruba
71f1af830c [tests] Refactor tests to use container just once, if not enforced config 2019-04-29 00:36:52 +02:00
Tomas Votruba
18b09f1aef [Symfony 4.3] Add SimplifyWebTestCaseAssertionsRector 2019-04-13 15:00:04 +02:00
Tomas Votruba
1fad013d4e Add PregFunctionToNetteUtilsStringsRector 2019-04-02 15:32:33 +02:00
Tomáš Votruba
55deff8299
[PhpSpecToPHPUnit] Add PhpSpecMocksToPHPUnitMocksRector (#1245) 2019-03-22 01:03:05 +01:00
Shyim
2835c2656d Add ResponseStatusCodeRector, fixes #1229 (#1232)
* Add ResponseStatusCodeRector, fixes #1229

* Fix code-review

* Add config
2019-03-19 11:22:38 +01:00
Tomas Votruba
fe4782831a add Rector create manual to main README [closes #1017] 2019-02-07 13:52:15 +01:00
Tomas Votruba
aa1083882e report invalid array/param syntax in config [closes #983] 2019-02-07 09:17:42 +01:00
Tomas Votruba
0db2b07d49 rename *.yml to *.yaml 2019-02-03 18:46:45 +01:00
Tomas Votruba
b8268f3897 remove safe 2019-02-02 13:27:03 +01:00
Tomas Votruba
e353eddab7 improve StringToArrayArgumentProcessRector 2019-01-08 10:11:27 +01:00
Tomas Votruba
465bd42925 use new PHP CS Fixer sort style for function namespaces 2019-01-02 14:22:25 +01:00
Tomas Votruba
2a00f0d51b rename Wrong ns to Fixture in tests 2018-12-07 21:51:59 +01:00
Tomas Votruba
880b74cf46 Resolve sprintf pre-assign case for StringToArrayArgumentProcessRector 2018-12-06 15:26:42 +01:00
Tomas Votruba
ef288d4045 [tests] rename test files to fixtures 2018-12-06 02:09:02 +01:00
Tomas Votruba
68b7076fd0 remove YamlRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-06 01:13:36 +01:00
Tomas Votruba
689555219f apply ConfiguredProvideConfigRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 21:17:06 +01:00
Tomas Votruba
54d13ece1d refactor with JoinWrongAndCorrectRector 2018-12-04 16:48:11 +01:00
Tomas Votruba
8dba0bd34f refactor /packages by JoinTestAndProvideFilesRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 15:34:40 +01:00
Tomas Votruba
3420edeae3 add JoinWrongAndCorrectTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 03:10:15 +01:00
Tomas Votruba
7c6a8be85e simlify tests by SimplifyTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 22:53:11 +01:00
Tomas Votruba
bef084c11c drop manual rebuilds, fast enough
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 21:19:21 +01:00
Tomas Votruba
73466ac247 rename test files method to provideFiles()
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 20:13:46 +01:00
Ben Davies
7cbe2a3620 add support for class names as service ids 2018-11-13 10:20:31 +00:00
Tomas Votruba
c3558f65c4 [CodingStyle] Add NullableCompareToNullRector + add NodeFactoryTrait + cleanup 2018-11-03 18:01:19 +01:00
Tomas Votruba
37c1301c5e [Symfony] Add RootNodeTreeBuilderRector 2018-11-02 16:43:06 +01:00
Tomas Votruba
c4aa54142f [Symfony] Add ArrayArgumentProcessRector 2018-11-02 10:31:09 +01:00
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
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
79910b73c6 make GetRequest use unique names [closes #610] 2018-10-21 14:27:50 +02:00
Tomas Votruba
70ea05352d [JMS] Add JmsInjectAnnotationRector 2018-10-19 08:04:16 +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
f07480c773 apply thecodingmachine/safe 2018-09-21 07:50:14 +02:00