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