php-twig/3563.patch
Remi Collet 3060536c35 update to 1.44.5
add patch for test suite from https://github.com/twigphp/Twig/pull/3563
2021-09-22 11:39:29 +02:00

23 lines
610 B
Diff

From 61df934a7ea2ed0c9860bf62c0c68f5318d99926 Mon Sep 17 00:00:00 2001
From: Remi Collet <fedora@famillecollet.com>
Date: Wed, 22 Sep 2021 11:33:46 +0200
Subject: [PATCH] Missing Environment and LoaderInterface
---
tests/escapingTest.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/escapingTest.php b/tests/escapingTest.php
index a35ce9ab1..6ebb7b7e3 100644
--- a/tests/escapingTest.php
+++ b/tests/escapingTest.php
@@ -2,6 +2,9 @@
namespace Twig\Tests;
+use Twig\Environment;
+use Twig\Loader\LoaderInterface;
+
/**
* This class is adapted from code coming from Zend Framework.
*