Code style fixes.

This commit is contained in:
Justin Hileman
2016-05-19 00:06:45 -07:00
parent 051f857197
commit b2b282dfef
6 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -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
View File
@@ -11,4 +11,4 @@ class Simple
}
public $in_ca = true;
};
}