29 Commits

Author SHA1 Message Date
TomasVotruba
fa12a080e4 [CakePHP] Add ImplicitShortClassNameUseStatementRector 2020-01-11 22:14:25 +01:00
TomasVotruba
3050843a49 [CakePHP 3.0] Add AppUsesStaticCallToUseStatementRector 2020-01-11 22:14:25 +01:00
Mark Story
af6f826d8b Separate fixture files. 2019-11-26 11:03:50 -05:00
Mark Story
dcce24688d Add test case for #2354 2019-11-25 21:51:32 -05:00
Tomas Votruba
8d57420bd6 use yieldFilesFromDirectory() in tests instead of explicid fixture naming 2019-11-05 18:02:26 +01:00
Tomas Votruba
acfd930f54 apply PSR-12 2019-10-13 08:09:08 +02:00
Dorian Villet
7e170d5944 ECS fixes. 2019-10-02 09:54:01 +02:00
Mark Story
018edbe75b Update RenameMethodCallBasedOnParameterRector based on feedback 2019-09-28 22:56:51 -04:00
Mark Story
31c1bfbe70 Add conditional method renaming rector
We have a few renames in CakePHP that are parameter dependent. This
rector lets a method be renamed based on the first parameter value. I've
only supported string values as that is the current requirements.
2019-09-28 22:56:51 -04:00
Tomas Votruba
0da741a9a3 drop @return type from Iterator in tests 2019-09-27 14:40:09 +02:00
Tomas Votruba
4c9ecba04c [tests] switch testFiles to data providers 2019-09-12 10:18:26 +02:00
Tomas Votruba
a0bb1ed604 cs: fix array indent 2019-05-28 20:11:19 +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
Hideki Kinjyo
c38941d335 [CakePHP] Add Fixture importing name style rector 2019-03-24 09:34:58 +09:00
Tomas Votruba
9a17cb95be fix CakePHP 3.4 with config method 2019-02-17 00:48:27 +01:00
Tomas Votruba
00e25abb89 [CodeQuality] Add SimplifyForeachToArrayFilterRector 2018-12-28 18:03:15 +01:00
Tomas Votruba
ef288d4045 [tests] rename test files to fixtures 2018-12-06 02:09:02 +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
3420edeae3 add JoinWrongAndCorrectTestsRector
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-04 03:10:15 +01:00
Tomas Votruba
14580c07e7 add old way to IntegrationRectorTestCaseTrait
Signed-off-by: Tomas Votruba <tomas.vot@gmail.com>
2018-12-03 22:50:16 +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
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
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
3660362e32 apply simple config on levels 2018-10-06 09:26:35 +08:00
Tomas Votruba
2b3c3b60d9 extend cakephp34 level 2018-09-26 19:34:03 +08:00
Tomas Votruba
44f25ea3f1 prepare config 2018-09-26 19:34:03 +08:00
Tomas Votruba
0efc746c93 allow custom get/set methods 2018-09-26 19:34:03 +08:00
Tomas Votruba
e26038757e [CakePHP] Init ModalToGetSetRector 2018-09-22 11:09:49 +02:00