add class renames

This commit is contained in:
TomasVotruba 2020-01-11 22:20:30 +01:00
parent d73b193e5b
commit db0876a0b4

View File

@ -2,3 +2,14 @@ services:
# @see https://github.com/cakephp/upgrade/tree/master/src/Shell/Task
Rector\CakePHP\Rector\StaticCall\AppUsesStaticCallToUseStatementRector: null
Rector\CakePHP\Rector\Name\ImplicitShortClassNameUseStatementRector: null
Rector\Renaming\Rector\Class_\RenameClassRector:
$oldToNewClasses:
# see https://github.com/cakephp/upgrade/blob/756410c8b7d5aff9daec3fa1fe750a3858d422ac/src/Shell/Task/RenameClassesTask.php#L37
Cake\Network\Http\HttpSocket: Cake\Network\Http\Client
Cake\Model\ConnectionManager: Cake\Database\ConnectionManager
Cake\TestSuite\CakeTestCase: Cake\TestSuite\TestCase
Cake\TestSuite\Fixture\CakeTestFixture: Cake\TestSuite\Fixture\TestFixture
Cake\Utility\String: Cake\Utility\Text
CakePlugin: 'Plugin'
CakeException: 'Exception'