Merge pull request #202 from spiasecki/feature/code_cleaning

Few code cleaning
This commit is contained in:
Justin Hileman
2014-05-14 13:06:39 -04:00
9 changed files with 4 additions and 11 deletions
-1
View File
@@ -14,7 +14,6 @@
*/ */
class Mustache_Autoloader class Mustache_Autoloader
{ {
private $baseDir; private $baseDir;
/** /**
-1
View File
@@ -16,7 +16,6 @@
*/ */
class Mustache_Compiler class Mustache_Compiler
{ {
private $sections; private $sections;
private $source; private $source;
private $indentNextLine; private $indentNextLine;
-1
View File
@@ -14,7 +14,6 @@
*/ */
interface Mustache_Loader interface Mustache_Loader
{ {
/** /**
* Load a Template by name. * Load a Template by name.
* *
-1
View File
@@ -14,7 +14,6 @@
*/ */
interface Mustache_Loader_MutableLoader interface Mustache_Loader_MutableLoader
{ {
/** /**
* Set an associative array of Template sources for this loader. * Set an associative array of Template sources for this loader.
* *
-1
View File
@@ -25,7 +25,6 @@
*/ */
class Mustache_Loader_StringLoader implements Mustache_Loader class Mustache_Loader_StringLoader implements Mustache_Loader
{ {
/** /**
* Load a Template by source. * Load a Template by source.
* *
-1
View File
@@ -16,7 +16,6 @@
*/ */
abstract class Mustache_Template abstract class Mustache_Template
{ {
/** /**
* @var Mustache_Engine * @var Mustache_Engine
*/ */
-1
View File
@@ -16,7 +16,6 @@
*/ */
class Mustache_Tokenizer class Mustache_Tokenizer
{ {
// Finite state machine states // Finite state machine states
const IN_TEXT = 0; const IN_TEXT = 0;
const IN_TAG_TYPE = 1; const IN_TAG_TYPE = 1;
@@ -17,7 +17,7 @@ class Mustache_Test_Cache_FilesystemCacheTest extends Mustache_Test_FunctionalTe
public function testCacheGetNone() public function testCacheGetNone()
{ {
$key = 'some key'; $key = 'some key';
$cache = new Mustache_Cache_FilesystemCache(self::$tempDir);; $cache = new Mustache_Cache_FilesystemCache(self::$tempDir);
$loaded = $cache->load($key); $loaded = $cache->load($key);
$this->assertFalse($loaded); $this->assertFalse($loaded);
@@ -27,7 +27,7 @@ class Mustache_Test_Cache_FilesystemCacheTest extends Mustache_Test_FunctionalTe
{ {
$key = 'some key'; $key = 'some key';
$value = '<?php /* some value */'; $value = '<?php /* some value */';
$cache = new Mustache_Cache_FilesystemCache(self::$tempDir);; $cache = new Mustache_Cache_FilesystemCache(self::$tempDir);
$cache->cache($key, $value); $cache->cache($key, $value);
$loaded = $cache->load($key); $loaded = $cache->load($key);
@@ -42,12 +42,12 @@ EOS;
$tpl = $m->loadTemplate($src); $tpl = $m->loadTemplate($src);
$data = new Mustache_Test_Functional_ClassWithLambda(); $data = new Mustache_Test_FiveThree_Functional_ClassWithLambda();
$this->assertEquals($expected, $tpl->render($data)); $this->assertEquals($expected, $tpl->render($data));
} }
} }
class Mustache_Test_Functional_ClassWithLambda class Mustache_Test_FiveThree_Functional_ClassWithLambda
{ {
public function _t() public function _t()
{ {