From 0c44388dad6945783bd7ebaac639945a46bb4131 Mon Sep 17 00:00:00 2001 From: odan Date: Mon, 26 Aug 2019 00:21:45 +0200 Subject: [PATCH] Enable twig parser verbose mode --- bin/parse-twig.php | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",