From 48a04538659e85e4c89da3787587e1988db9c5e9 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 27 Jun 2012 11:49:34 +0200 Subject: [PATCH] fixed PHP 5.2 incompatibilty --- test/Twig/Tests/escapingTest.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/Twig/Tests/escapingTest.php b/test/Twig/Tests/escapingTest.php index 608ef22..8c26bb7 100644 --- a/test/Twig/Tests/escapingTest.php +++ b/test/Twig/Tests/escapingTest.php @@ -254,7 +254,7 @@ class Twig_Test_EscapingTest extends PHPUnit_Framework_TestCase . chr($codepoint >> 6 & 0x3f | 0x80) . chr($codepoint & 0x3f | 0x80); } - throw new \Exception('Codepoint requested outside of Unicode range'); + throw new Exception('Codepoint requested outside of Unicode range'); } public function testJavascriptEscapingEscapesOwaspRecommendedRanges() -- 1.7.2.5