mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
add twig127 level
This commit is contained in:
parent
d22d0fe1dd
commit
2de84e72d5
11
config/level/twig/twig127.yml
Normal file
11
config/level/twig/twig127.yml
Normal file
@ -0,0 +1,11 @@
|
||||
services:
|
||||
Rector\Rector\MethodCall\MethodNameReplacerRector:
|
||||
$perClassOldToNewMethods:
|
||||
'Twig_Node':
|
||||
'getLine': 'getTemplateLine'
|
||||
'getFilename': 'getTemplateName'
|
||||
'Twig_Template':
|
||||
'getSource': 'getSourceContext'
|
||||
'Twig_Error':
|
||||
'getTemplateFile': 'getTemplateName'
|
||||
'getTemplateName': 'setTemplateName'
|
Loading…
x
Reference in New Issue
Block a user