TomasVotruba
05b6df31e6
[CI] Add check for duplicated fixture after before content
2020-01-18 01:03:39 +01:00
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
TomasVotruba
02071e988a
fix var type on method call
2019-11-27 00:53:39 +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
TomasVotruba
53eda0bb8e
use new Symplify 7
2019-11-23 18:49:27 +01:00
Tomas Votruba
8d57420bd6
use yieldFilesFromDirectory() in tests instead of explicid fixture naming
2019-11-05 18:02:26 +01:00
Tomas Votruba
e4bf0e923c
add coding-style set + apply
2019-11-05 13:05:14 +01:00
Tomas Votruba
8d1b732d0f
use ->name on method call
2019-10-24 11:54:47 +02: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
ca7d0cba15
use PHP highlight for herenow doc
2019-09-18 09:14:06 +02:00
Tomas Votruba
4c9ecba04c
[tests] switch testFiles to data providers
2019-09-12 10:18:26 +02:00
Tomas Votruba
82efb89940
use object types over strings
2019-09-06 12:29:55 +02:00
Tomas Votruba
79ffad4a0b
add @see annotations
2019-09-03 14:05:21 +02:00
Tomas Votruba
a0bb1ed604
cs: fix array indent
2019-05-28 20:11:19 +02:00
Tomas Votruba
83d2219ca7
[TypeDeclaration] Add AddFunctionReturnTypeRector
2019-05-10 14:55:55 +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
d9fc5876d8
apply coding-style level
2019-04-25 14:14:14 +02:00
Tomas Votruba
7c9df2cefe
rename Attribute to AttributeKey to prevent duplicated names with similar classes in 3rd party project
2019-04-13 14:21:36 +02:00
Hideki Kinjyo
9e3a0d7198
[CakePHP] Add at-see tag annotation for migration guid
2019-03-24 09:41:44 +09:00
Hideki Kinjyo
c38941d335
[CakePHP] Add Fixture importing name style rector
2019-03-24 09:34:58 +09:00
Tomas Votruba
f574c3374f
use node-class based naming
2019-02-22 18:34:41 +01:00
Tomas Votruba
9a17cb95be
fix CakePHP 3.4 with config method
2019-02-17 00:48:27 +01:00
Tomas Votruba
25da54641b
improve static code quality
2019-01-14 23:08:20 +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
1f51866acf
early return + resolve todo
2018-10-17 12:25:56 +02:00
Tomas Votruba
5933cca87d
remove callAnalyzer form Rectors
2018-10-15 14:45:34 +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
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
Tomas Votruba
5e533766e6
add ref
2018-09-21 15:04:15 +02:00
Tomas Votruba
9c50f52e00
init ModalToGetSetRector
2018-09-21 15:04:15 +02:00