85 Commits

Author SHA1 Message Date
Tomas Votruba
4fbca58523 add return type to step-3 2019-09-24 15:30:24 +02:00
Tomas Votruba
6ff6d7320a [TypeDeclaration] Add AddMethodCallBasedParamTypeRector 2019-09-24 15:13:46 +02:00
Tomas Votruba
980778d69b move SwapFuncCallArgumentsRector to Argument 2019-09-23 18:19:04 +02:00
Tomas Votruba
24ebc66747 move ReserverObjectRector to Php71 2019-09-23 18:19:04 +02:00
Tomas Votruba
8229d46b89 move RenameStaticMethodRector to Renaming package 2019-09-23 17:41:47 +02:00
Tomas Votruba
17d14ba4ac move RenameClassRector to Renaming package 2019-09-23 17:41:47 +02:00
Tomas Votruba
35dd776c36 move RenameClassConstantRector to Renaming package 2019-09-23 17:17:58 +02:00
Tomas Votruba
100ea52e7d update configs 2019-09-23 17:09:26 +02:00
Tomas Votruba
362f47a69c move RenameFunctionRector to Renaming package 2019-09-23 16:40:54 +02:00
Tomas Votruba
419da7704b [Renaming] init new package 2019-09-23 16:36:58 +02:00
Tomas Votruba
2858a9f7ea [PHP] Move tests + fixture to split package by version 2019-09-23 15:16:31 +02:00
Tomas Votruba
f558733611 [PHP] Split huge package to php by version rules 2019-09-23 13:38:51 +02:00
Tomas Votruba
3299c55229 prepare config 2019-09-22 22:01:35 +02:00
ADmad
075bb0f974
Add rules for renaming CakePHP's Router methods
Refs https://github.com/cakephp/cakephp/pull/13664
2019-09-22 22:10:52 +05:30
Tomas Votruba
417ee5c749 decouple 2019-09-21 21:18:24 +02:00
Tomas Votruba
d727b0181e [Doctrine] Add ChangeIdenticalUuidToEqualsMethodCallRector 2019-09-21 19:44:34 +02:00
Tomas Votruba
8993b6bc14 [Doctrine] Add ChangeReturnTypeOfClassMethodWithGetIdRector 2019-09-21 17:41:40 +02:00
Tomas Votruba
fabbfacd1a [Doctrine] Add GetUuidMethodCall to GetId 2019-09-21 16:27:10 +02:00
Tomas Votruba
8e93626e32 [Doctrine] Add ChangeSetIdToUuidValueRector 2019-09-21 12:46:01 +02:00
Tomas Votruba
6c35b3af43 [Doctrine] init step 2 uuid 2019-09-20 10:14:49 +02:00
Tomas Votruba
0a20938c72 add CustomIdGenerator 2019-09-19 20:02:00 +02:00
Tomas Votruba
ce332b4e65 add AbstractFileSystemRectorTestCase + test 2019-09-15 18:07:16 +02:00
Tomas Votruba
e0d67e2268 add config 2019-09-13 10:52:34 +02:00
Tomas Votruba
cefdc0f846 check invalid config arguments 2019-09-13 09:01:27 +02:00
Tomas Votruba
60232eca21 add check class existance scripts 2019-09-13 08:16:11 +02:00
Tomas Votruba
6081373d39 [Doctrine] split id and relation migration to 2 steps 2019-09-10 11:49:01 +02:00
Tomas Votruba
64d69ca83f improve test case provided rector class debug info 2019-09-04 11:03:02 +02:00
Tomas Votruba
84f72f7c4a [PHPUnit] Add array call to data provider 2019-09-04 10:51:54 +02:00
Tomas Votruba
1a0db5e25c [PHPUnit] Add AddSeeTestAnnotationRector 2019-09-03 14:02:42 +02:00
Tomas Votruba
d1604592bf uuid rules are now designed to be used at once 2019-08-31 14:07:32 +02:00
Tomáš Votruba
18dcf7bb3e
[Doctrine] Id to UUID migration (#1912)
[Doctrine] Id to UUID migration
2019-08-28 12:29:26 +02:00
Tomas Votruba
66f259c933 add manual to config [skip ci] 2019-08-28 12:05:26 +02:00
Tomas Votruba
c1303c6ba7 init uuid migration 2019-08-28 10:52:55 +02:00
Mark Story
19b903985d Add more rectors for CakePHP 4.0
More renames that can be handled by rector.
2019-08-27 22:29:14 -04:00
Tomas Votruba
697655d090 decopule class references to DoctrineClass value object 2019-08-27 18:11:28 +02:00
Tomáš Votruba
5be952e180
Merge pull request #1898 from markstory/cakephp4
Start CakePHP 4.0 rectors
2019-08-26 07:03:29 +02:00
Tomáš Votruba
888a9ce4e1
Merge pull request #1889 from markstory/cakephp38
Add cakephp3.8 target and fix a typo
2019-08-24 10:43:32 +02:00
Mark Story
3f6b76a667 Start CakePHP 4.0 rectors
* Add removed method renames
* Add a handful of return typehints
2019-08-23 23:00:26 -04:00
Mark Story
84560261eb Add cakephp38 target
There was only one rectorable deprecation in CakePHP 3.8
2019-08-23 21:36:39 -04:00
Tomas Votruba
e8fbc4bc10 relocate RemoveDeadInitializationRector to RemoveNullPropertyInitializationRector 2019-08-21 17:20:12 +02:00
Tomas Votruba
c7e104a84e remove non-existing rule [closes #1867] 2019-08-21 17:02:25 +02:00
Tomáš Votruba
cbbce30ed8
Merge pull request #1865 from rectorphp/psr4-namespace
[PSR4] Add NormalizeNamespaceByPSR4ComposerAutoloadRector
2019-08-19 22:05:57 +02:00
Tomas Votruba
914f0b936c [PHP 7.4] Add literal thousand superator 2019-08-19 16:39:38 +02:00
Tomas Votruba
9b9ce531b2 [PSR4] Add NormalizeNamespaceByPSR4ComposerAutoloadRector 2019-08-18 12:56:56 +02:00
Tomas Votruba
402fa85814 [TypeDeclaration] Add AddArrayReturnDocTypeRector 2019-08-16 22:35:41 +02:00
Tomas Votruba
ac479cd5c4 [TypeDeclaration] Add AddArrayParamDocTypeRector 2019-08-16 15:29:05 +02:00
Tomas Votruba
31a46f0ad8 [CodingStyle] Add AddArrayDefaultToArrayPropertyRector 2019-08-15 14:00:48 +02:00
Tomas Votruba
2fc2a65ed8 [Nette] Add JsonDecodeEncodeToNetteUtilsJsonDecodeEncodeRector 2019-08-07 13:00:53 +02:00
Tomas Votruba
6000b30369 [DeadCode] Add RemoveSetterOnlyPropertyAndMethodCallRector 2019-08-06 12:50:53 +02:00
Tomas Votruba
72b91209c7 [DeadCode] Add RemoveUnusedDoctrineEntityMethodAndPropertyRector 2019-08-04 23:39:48 +02:00