diff --git a/bin/parse-twig.php b/bin/parse-twig.php index 6c7192c4d..495a87857 100644 --- a/bin/parse-twig.php +++ b/bin/parse-twig.php @@ -30,7 +30,7 @@ $twig = $app->getContainer()->get(Twig::class); -$compiler = new TwigCompiler($twig, $cachePath); +$compiler = new TwigCompiler($twig, $cachePath, true); $compiler->compile(); echo "Done\n"; diff --git a/composer.json b/composer.json index c3cca271d..2b372610d 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "nyholm/psr7": "^1.2", "nyholm/psr7-server": "^0.3.0", "odan/twig-assets": "^2.1", - "odan/twig-translation": "^1.2.1", + "odan/twig-translation": "^1.3", "psr/log": "^1.1", "selective/basepath": "^0.1.0", "slim/slim": "^4.1",