Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 94ff4e9

Browse files
committed
minor #11531 [HttpKernel][FrameworkBundle] Replaced ESI mentions with SSI when appropriate (pgodel)
This PR was merged into the 2.6-dev branch. Discussion ---------- [HttpKernel][FrameworkBundle] Replaced ESI mentions with SSI when appropriate | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- 7ee23c1 Replaced ESI mentions with SSI when appropriate
2 parents 137db21 + 7ee23c1 commit 94ff4e9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Symfony/Component/HttpKernel/Fragment/SsiFragmentRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Symfony\Component\HttpKernel\UriSigner;
1717

1818
/**
19-
* Implements the ESI rendering strategy.
19+
* Implements the SSI rendering strategy.
2020
*
2121
* @author Sebastian Krebs <[email protected]>
2222
*/

src/Symfony/Component/HttpKernel/Tests/HttpCache/SsiTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
class SsiTest extends \PHPUnit_Framework_TestCase
1919
{
20-
public function testHasSurrogateEsiCapability()
20+
public function testHasSurrogateSsiCapability()
2121
{
2222
$ssi = new Ssi();
2323

@@ -33,7 +33,7 @@ public function testHasSurrogateEsiCapability()
3333
$this->assertFalse($ssi->hasSurrogateCapability($request));
3434
}
3535

36-
public function testAddSurrogateEsiCapability()
36+
public function testAddSurrogateSsiCapability()
3737
{
3838
$ssi = new Ssi();
3939

@@ -58,7 +58,7 @@ public function testAddSurrogateControl()
5858
$this->assertEquals('', $response->headers->get('Surrogate-Control'));
5959
}
6060

61-
public function testNeedsEsiParsing()
61+
public function testNeedsSsiParsing()
6262
{
6363
$ssi = new Ssi();
6464

@@ -117,7 +117,7 @@ public function testProcessEscapesPhpTags()
117117
/**
118118
* @expectedException \RuntimeException
119119
*/
120-
public function testProcessWhenNoSrcInAnEsi()
120+
public function testProcessWhenNoSrcInAnSsi()
121121
{
122122
$ssi = new Ssi();
123123

0 commit comments

Comments
 (0)