@@ -16,7 +16,6 @@
|
|||||||
*/
|
*/
|
||||||
class Mustache_Compiler
|
class Mustache_Compiler
|
||||||
{
|
{
|
||||||
|
|
||||||
private $pragmas;
|
private $pragmas;
|
||||||
private $defaultPragmas = array();
|
private $defaultPragmas = array();
|
||||||
private $sections;
|
private $sections;
|
||||||
|
|||||||
@@ -13,10 +13,10 @@ class Mustache_Test_Cache_AbstractCacheTest extends PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
public function testGetSetLogger()
|
public function testGetSetLogger()
|
||||||
{
|
{
|
||||||
$cache = new CacheStub();
|
$cache = new CacheStub();
|
||||||
$logger = new Mustache_Logger_StreamLogger('php://stdout');
|
$logger = new Mustache_Logger_StreamLogger('php://stdout');
|
||||||
$cache->setLogger($logger);
|
$cache->setLogger($logger);
|
||||||
$this->assertSame($logger, $cache->getLogger());
|
$this->assertSame($logger, $cache->getLogger());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
*/
|
*/
|
||||||
class Mustache_Test_CompilerTest extends PHPUnit_Framework_TestCase
|
class Mustache_Test_CompilerTest extends PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dataProvider getCompileValues
|
* @dataProvider getCompileValues
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
class Mustache_Test_FiveThree_Functional_PartialLambdaIndentTest extends PHPUnit_Framework_TestCase
|
class Mustache_Test_FiveThree_Functional_PartialLambdaIndentTest extends PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
public function testLambdasInsidePartialsAreIndentedProperly()
|
public function testLambdasInsidePartialsAreIndentedProperly()
|
||||||
{
|
{
|
||||||
$src = <<<EOS
|
$src = <<<EOS
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
class Mustache_Test_Functional_CallTest extends PHPUnit_Framework_TestCase
|
class Mustache_Test_Functional_CallTest extends PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
public function testCallEatsContext()
|
public function testCallEatsContext()
|
||||||
{
|
{
|
||||||
$m = new Mustache_Engine();
|
$m = new Mustache_Engine();
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
class Mustache_Test_Functional_ExamplesTest extends PHPUnit_Framework_TestCase
|
class Mustache_Test_Functional_ExamplesTest extends PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test everything in the `examples` directory.
|
* Test everything in the `examples` directory.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -144,7 +144,6 @@ class Mustache_Test_Functional_InheritanceTest extends PHPUnit_Framework_TestCas
|
|||||||
);
|
);
|
||||||
|
|
||||||
$this->assertEquals('default three content', $tpl->render($data));
|
$this->assertEquals('default three content', $tpl->render($data));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testMustacheInjectionInDefaultContent()
|
public function testMustacheInjectionInDefaultContent()
|
||||||
@@ -251,7 +250,7 @@ class Mustache_Test_Functional_InheritanceTest extends PHPUnit_Framework_TestCas
|
|||||||
|
|
||||||
public function testOverridePartialWithNewlines()
|
public function testOverridePartialWithNewlines()
|
||||||
{
|
{
|
||||||
$partials = array(
|
$partials = array(
|
||||||
'partial' => '{{$ballmer}}peaking{{/ballmer}}'
|
'partial' => '{{$ballmer}}peaking{{/ballmer}}'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
class Mustache_Test_Functional_MustacheInjectionTest extends PHPUnit_Framework_TestCase
|
class Mustache_Test_Functional_MustacheInjectionTest extends PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
private $mustache;
|
private $mustache;
|
||||||
|
|
||||||
public function setUp()
|
public function setUp()
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
*/
|
*/
|
||||||
class Mustache_Test_ParserTest extends PHPUnit_Framework_TestCase
|
class Mustache_Test_ParserTest extends PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dataProvider getTokenSets
|
* @dataProvider getTokenSets
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
*/
|
*/
|
||||||
class Mustache_Test_TokenizerTest extends PHPUnit_Framework_TestCase
|
class Mustache_Test_TokenizerTest extends PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dataProvider getTokens
|
* @dataProvider getTokens
|
||||||
*/
|
*/
|
||||||
|
|||||||
Vendored
-1
@@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
class I18n
|
class I18n
|
||||||
{
|
{
|
||||||
|
|
||||||
// Variable to be interpolated
|
// Variable to be interpolated
|
||||||
public $name = 'Bob';
|
public $name = 'Bob';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user