yiisoft/yii2 — pull request #3878 by dapatrese (2014-06-15 11:28:14+00:00)
Title: Fixes Twig lexerOptions throwing exception (#3877) 

First commit only adds lexerOptions to config to make test fail and demonstrate the error.

Although rearranging the order of applying Twig options obviously fixes this bug, it rather seems like a quickfix because there are no tests to ensure that Twig will always behave as we expect it.

Maybe we should write more tests before applying this fix.