mirror of
https://github.com/rectorphp/rector.git
synced 2024-07-09 02:53:31 +00:00
Add rules for renaming CakePHP's Router methods
Refs https://github.com/cakephp/cakephp/pull/13664
This commit is contained in:
parent
07a0e5d220
commit
075bb0f974
|
@ -28,6 +28,13 @@ services:
|
|||
Cake\Validation\Validator:
|
||||
containsNonAlphaNumeric: notAlphaNumeric
|
||||
|
||||
Rector\Rector\MethodCall\RenameStaticMethodRector:
|
||||
$oldToNewMethodByClasses:
|
||||
Router:
|
||||
pushRequest: setRequest
|
||||
setRequestInfo: setRequest
|
||||
setRequestContext: setRequest
|
||||
|
||||
Rector\Rector\ClassMethod\AddReturnTypeDeclarationRector:
|
||||
Cake\Http\BaseApplication:
|
||||
bootstrap: 'void'
|
||||
|
|
Loading…
Reference in New Issue
Block a user