mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 05:45:33 +08:00
Adds twig lexerOptions to ViewRendererTest to demonstrate error
This commit is contained in:
@@ -52,6 +52,9 @@ class ViewRendererTest extends TestCase
|
|||||||
'functions' => [
|
'functions' => [
|
||||||
't' => '\Yii::t',
|
't' => '\Yii::t',
|
||||||
'json_encode' => '\yii\helpers\Json::encode'
|
'json_encode' => '\yii\helpers\Json::encode'
|
||||||
|
],
|
||||||
|
'lexerOptions' => [
|
||||||
|
'tag_comment' => [ '{*', '*}' ],
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user