8000 [HttpKernel] fix PHP 5.4 compat · symfony/symfony@0f2b752 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0f2b752

Browse files
[HttpKernel] fix PHP 5.4 compat
1 parent 3fc2200 commit 0f2b752

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use Symfony\Component\HttpFoundation\Request;
1717
use Symfony\Component\HttpFoundation\Response;
1818
use Symfony\Component\HttpKernel\HttpCache\Store;
19-
use Symfony\Component\HttpKernel\HttpCache\StoreInterface;
2019
use Symfony\Component\HttpKernel\HttpKernelInterface;
2120

2221
/**
@@ -1438,8 +1437,8 @@ public function testDoesNotCacheOptionsRequest()
14381437

14391438
public function testUsesOriginalRequestForSurrogate()
14401439
{
1441-
$kernel = $this->getMockBuilder(HttpKernelInterface::class)->getMock();
1442-
$store = $this->getMockBuilder(StoreInterface::class)->getMock();
1440+
$kernel = $this->getMockBuilder('Symfony\Component\HttpKernel\HttpKernelInterface')->getMock();
1441+
$store = $this->getMockBuilder('Symfony\Component\HttpKernel\HttpCache\StoreInterface')->getMock();
14431442

14441443
$kernel
14451444
->expects($this->exactly(2))

0 commit comments

Comments
 (0)
0