add twig127 level

This commit is contained in:
Tomas Votruba 2018-08-29 15:27:31 +02:00
parent d22d0fe1dd
commit 2de84e72d5

View 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'