mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
Add rules for ConsoleIo::styles()
This method is getting a split get/set which can be handled by rector.
This commit is contained in:
parent
57332a88e8
commit
a9e148905d
@ -61,3 +61,13 @@ services:
|
|||||||
withParam:
|
withParam:
|
||||||
match_parameter: 'paging'
|
match_parameter: 'paging'
|
||||||
replace_with: 'withAttribute'
|
replace_with: 'withAttribute'
|
||||||
|
|
||||||
|
Rector\CakePHP\Rector\MethodCall\ModalToGetSetRector:
|
||||||
|
Cake\Console\ConsoleIo:
|
||||||
|
styles:
|
||||||
|
set: 'setStyle'
|
||||||
|
get: 'getStyle'
|
||||||
|
Cake\Console\ConsoleOutput:
|
||||||
|
styles:
|
||||||
|
set: 'setStyle'
|
||||||
|
get: 'getStyle'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user