From 1ffd7c1a8fd9b3a41312730184522c974ae2b721 Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Tue, 1 May 2012 14:25:02 -0700 Subject: [PATCH] Remove some more slashes for 5.2. --- test/Mustache/Test/HelperCollectionTest.php | 10 +++++----- test/Mustache/Test/Loader/ArrayLoaderTest.php | 2 +- test/Mustache/Test/Loader/FilesystemLoaderTest.php | 4 ++-- test/Mustache/Test/MustacheTest.php | 6 +++--- test/Mustache/Test/ParserTest.php | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/test/Mustache/Test/HelperCollectionTest.php b/test/Mustache/Test/HelperCollectionTest.php index ed3f393..5c66bd5 100644 --- a/test/Mustache/Test/HelperCollectionTest.php +++ b/test/Mustache/Test/HelperCollectionTest.php @@ -105,12 +105,12 @@ class Mustache_Test_HelperCollectionTest extends PHPUnit_Framework_TestCase { array( 'not helpers', array(), - '\InvalidArgumentException', + 'InvalidArgumentException', ), array( array(), array('get' => array('foo')), - '\InvalidArgumentException', + 'InvalidArgumentException', ), array( array('foo' => 'FOO'), @@ -120,7 +120,7 @@ class Mustache_Test_HelperCollectionTest extends PHPUnit_Framework_TestCase { array( array('foo' => 'FOO'), array('get' => array('bar')), - '\InvalidArgumentException', + 'InvalidArgumentException', ), array( array('foo' => 'FOO'), @@ -144,12 +144,12 @@ class Mustache_Test_HelperCollectionTest extends PHPUnit_Framework_TestCase { 'remove' => array('foo'), 'get' => array('foo'), ), - '\InvalidArgumentException', + 'InvalidArgumentException', ), array( array(), array('remove' => array('foo')), - '\InvalidArgumentException', + 'InvalidArgumentException', ), ); } diff --git a/test/Mustache/Test/Loader/ArrayLoaderTest.php b/test/Mustache/Test/Loader/ArrayLoaderTest.php index c5d53a1..0f659da 100644 --- a/test/Mustache/Test/Loader/ArrayLoaderTest.php +++ b/test/Mustache/Test/Loader/ArrayLoaderTest.php @@ -39,7 +39,7 @@ class Mustache_Test_Loader_ArrayLoaderTest extends PHPUnit_Framework_TestCase { } /** - * @expectedException \InvalidArgumentException + * @expectedException InvalidArgumentException */ public function testMissingTemplatesThrowExceptions() { $loader = new Mustache_Loader_ArrayLoader; diff --git a/test/Mustache/Test/Loader/FilesystemLoaderTest.php b/test/Mustache/Test/Loader/FilesystemLoaderTest.php index b01b805..670274f 100644 --- a/test/Mustache/Test/Loader/FilesystemLoaderTest.php +++ b/test/Mustache/Test/Loader/FilesystemLoaderTest.php @@ -28,14 +28,14 @@ class Mustache_Test_Loader_FilesystemLoaderTest extends PHPUnit_Framework_TestCa } /** - * @expectedException \RuntimeException + * @expectedException RuntimeException */ public function testMissingBaseDirThrowsException() { $loader = new Mustache_Loader_FilesystemLoader(dirname(__FILE__).'/not_a_directory'); } /** - * @expectedException \InvalidArgumentException + * @expectedException InvalidArgumentException */ public function testMissingTemplateThrowsException() { $baseDir = realpath(dirname(__FILE__).'/../../../fixtures/templates'); diff --git a/test/Mustache/Test/MustacheTest.php b/test/Mustache/Test/MustacheTest.php index 4a23eb3..3aa225b 100644 --- a/test/Mustache/Test/MustacheTest.php +++ b/test/Mustache/Test/MustacheTest.php @@ -125,7 +125,7 @@ class Mustache_Test_MustacheTest extends PHPUnit_Framework_TestCase { } /** - * @expectedException \InvalidArgumentException + * @expectedException InvalidArgumentException * @dataProvider getBadEscapers */ public function testNonCallableEscapeThrowsException($escape) { @@ -140,7 +140,7 @@ class Mustache_Test_MustacheTest extends PHPUnit_Framework_TestCase { } /** - * @expectedException \RuntimeException + * @expectedException RuntimeException */ public function testImmutablePartialsLoadersThrowException() { $mustache = new Mustache_Mustache(array( @@ -201,7 +201,7 @@ class Mustache_Test_MustacheTest extends PHPUnit_Framework_TestCase { } /** - * @expectedException \InvalidArgumentException + * @expectedException InvalidArgumentException */ public function testSetHelpersThrowsExceptions() { $mustache = new Mustache_Mustache; diff --git a/test/Mustache/Test/ParserTest.php b/test/Mustache/Test/ParserTest.php index 52f65a2..192b8aa 100644 --- a/test/Mustache/Test/ParserTest.php +++ b/test/Mustache/Test/ParserTest.php @@ -107,7 +107,7 @@ class Mustache_Test_ParserTest extends PHPUnit_Framework_TestCase { /** * @dataProvider getBadParseTrees - * @expectedException \LogicException + * @expectedException LogicException */ public function testParserThrowsExceptions($tokens) { $parser = new Mustache_Parser;