This commit is contained in:
Fabien Potencier
2021-09-22 17:05:23 +02:00
parent 212e49be47
commit 3a18bb3a6b
+1 -1
View File
@@ -156,7 +156,7 @@ class escapingTest extends \PHPUnit\Framework\TestCase
protected function setUp(): void
{
$this->env = new \Twig\Environment($this->createMock('\Twig\Loader\LoaderInterface'));
$this->env = new Environment($this->createMock(LoaderInterface::class));
}
public function testHtmlEscapingConvertsSpecialChars()