Updated all dependencies and prepared for PHP 8

This commit is contained in:
2026-06-19 09:37:22 +00:00
parent 941c9104dc
commit 5f9f6ca2ff
21 changed files with 3334 additions and 2643 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ class TwigTemplate {
public function __construct($key, $content, $cachePath) {
$this->key = $key;
$this->environment = new \Twig_Environment(
new \Twig_Loader_Array([ $key => $content ]),
$this->environment = new \Twig\Environment(
new \Twig\Loader\ArrayLoader([ $key => $content ]),
[ 'cache' => $cachePath ]
);
}