mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-22 18:54:39 +01:00
27 lines
865 B
YAML
27 lines
865 B
YAML
# source: https://book.cakephp.org/4.0/en/appendices/4-0-migration-guide.html
|
|
|
|
services:
|
|
Rector\Rector\MethodCall\RenameMethodRector:
|
|
Cake\Form\Form:
|
|
'errors': 'getErrors'
|
|
Cake\Mailer\Email:
|
|
'set': 'setViewVars'
|
|
|
|
Rector\Rector\ClassMethod\AddReturnTypeDeclarationRector:
|
|
Cake\Http\BaseApplication:
|
|
bootstrap: 'void'
|
|
bootstrapCli: 'void'
|
|
middleware: 'Cake\Http\MiddlewareQueue'
|
|
Cake\Console\Shell:
|
|
initialize: 'void'
|
|
Cake\Controller\Controller:
|
|
initialize: 'void'
|
|
render: 'Cake\Http\Response'
|
|
Cake\ORM\Table:
|
|
initialize: 'void'
|
|
updateAll: 'int'
|
|
deleteAll: 'int'
|
|
validationDefault: 'Cake\Validation\Validator'
|
|
Cake\View\Helper:
|
|
initialize: 'void'
|