mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
12 lines
437 B
YAML
12 lines
437 B
YAML
services:
|
|
Rector\Rector\Dynamic\ClassReplacerRector:
|
|
$oldToNewClasses:
|
|
'Illuminate\Http\Response': 'Symfony\Component\HttpFoundation\Response'
|
|
'App\Http\Controllers\Controller': 'Symfony\Bundle\FrameworkBundle\Controller\Controller'
|
|
|
|
|
|
# view('...') => $this->render('...')
|
|
Rector\Rector\Dynamic\FunctionToMethodCallRector:
|
|
$functionToMethodCall:
|
|
'view': ['this', 'render']
|