Code style fixes.
This commit is contained in:
@@ -78,7 +78,7 @@ class SymfonyClassCollectionLoader
|
||||
{
|
||||
private static $loaded;
|
||||
|
||||
const HEADER = <<<EOS
|
||||
const HEADER = <<<'EOS'
|
||||
<?php
|
||||
|
||||
/*
|
||||
|
||||
@@ -77,7 +77,7 @@ class Mustache_Test_FiveThree_Functional_FiltersTest extends PHPUnit_Framework_T
|
||||
$this->assertEquals('[[2000-01-01 12:01:00]]', $tpl->render($foo));
|
||||
}
|
||||
|
||||
const CHAINED_SECTION_FILTERS_TPL = <<<EOS
|
||||
const CHAINED_SECTION_FILTERS_TPL = <<<'EOS'
|
||||
{{% FILTERS }}
|
||||
{{# word | echo | with_index }}
|
||||
{{ key }}: {{ value }}
|
||||
|
||||
@@ -17,18 +17,18 @@ class Mustache_Test_FiveThree_Functional_PartialLambdaIndentTest extends PHPUnit
|
||||
{
|
||||
public function testLambdasInsidePartialsAreIndentedProperly()
|
||||
{
|
||||
$src = <<<EOS
|
||||
$src = <<<'EOS'
|
||||
<fieldset>
|
||||
{{> input }}
|
||||
</fieldset>
|
||||
|
||||
EOS;
|
||||
$partial = <<<EOS
|
||||
$partial = <<<'EOS'
|
||||
<input placeholder="{{# _t }}Enter your name{{/ _t }}">
|
||||
|
||||
EOS;
|
||||
|
||||
$expected = <<<EOS
|
||||
$expected = <<<'EOS'
|
||||
<fieldset>
|
||||
<input placeholder="ENTER YOUR NAME">
|
||||
</fieldset>
|
||||
@@ -47,18 +47,18 @@ EOS;
|
||||
|
||||
public function testLambdaInterpolationsInsidePartialsAreIndentedProperly()
|
||||
{
|
||||
$src = <<<EOS
|
||||
$src = <<<'EOS'
|
||||
<fieldset>
|
||||
{{> input }}
|
||||
</fieldset>
|
||||
|
||||
EOS;
|
||||
$partial = <<<EOS
|
||||
$partial = <<<'EOS'
|
||||
<input placeholder="{{ placeholder }}">
|
||||
|
||||
EOS;
|
||||
|
||||
$expected = <<<EOS
|
||||
$expected = <<<'EOS'
|
||||
<fieldset>
|
||||
<input placeholder="Enter your name">
|
||||
</fieldset>
|
||||
|
||||
@@ -32,6 +32,7 @@ class Mustache_Test_Functional_CallTest extends PHPUnit_Framework_TestCase
|
||||
class Mustache_Test_Functional_ClassWithCall
|
||||
{
|
||||
public $name;
|
||||
|
||||
public function __call($method, $args)
|
||||
{
|
||||
return 'unknown value';
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@ class Simple
|
||||
}
|
||||
|
||||
public $in_ca = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user