Remove some more slashes for 5.2.

This commit is contained in:
Justin Hileman
2012-05-01 14:25:02 -07:00
parent 0135107769
commit 1ffd7c1a8f
5 changed files with 12 additions and 12 deletions
+5 -5
View File
@@ -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',
),
);
}
@@ -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;
@@ -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');
+3 -3
View File
@@ -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;
+1 -1
View File
@@ -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;