Skip to content

Commit 5ab5948

Browse files
Merge branch '5.4' into 6.2
* 5.4: CS fix Fix test provider
2 parents b794723 + 88bb0c2 commit 5ab5948

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

EventListener/RouterListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use Symfony\Component\HttpFoundation\RequestStack;
1818
use Symfony\Component\HttpFoundation\Response;
1919
use Symfony\Component\HttpKernel\Event\ExceptionEvent;
20-
use Symfony\Component\HttpKernel\Event\FinishRequestEvent;
2120
use Symfony\Component\HttpKernel\Event\RequestEvent;
2221
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
2322
use Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException;

HttpCache/Store.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public function write(Request $request, Response $response): string
193193
if ($this->getPath($digest) !== $response->headers->get('X-Body-File')) {
194194
throw new \RuntimeException('X-Body-File and X-Content-Digest do not match.');
195195
}
196-
// Everything seems ok, omit writing content to disk
196+
// Everything seems ok, omit writing content to disk
197197
} else {
198198
$digest = $this->generateContentDigest($response);
199199
$response->headers->set('X-Content-Digest', $digest);

Tests/Controller/ArgumentResolver/BackedEnumValueResolverTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class BackedEnumValueResolverTest extends TestCase
2424
* In Symfony 7, keep this test case but remove the call to supports().
2525
*
2626
* @group legacy
27+
*
2728
* @dataProvider provideTestSupportsData
2829
*/
2930
public function testSupports(Request $request, ArgumentMetadata $metadata, bool $expectedSupport)

Tests/Controller/ArgumentResolver/UidValueResolverTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@
2525
class UidValueResolverTest extends TestCase
2626
{
2727
/**
28-
* In Symfony 7, keep this test case but remove the call to supports()
28+
* In Symfony 7, keep this test case but remove the call to supports().
2929
*
3030
* @group legacy
31+
*
3132
* @dataProvider provideSupports
3233
*/
3334
public function testSupports(bool $expected, Request $request, ArgumentMetadata $argument)

Tests/HttpCache/ResponseCacheStrategyTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ public function testResponseIsExpirableButNotValidateableWhenMainResponseCombine
258258

259259
/**
260260
* @group time-sensitive
261+
*
261262
* @dataProvider cacheControlMergingProvider
262263
*/
263264
public function testCacheControlMerging(array $expects, array $master, array $surrogates)

Tests/HttpCache/SsiTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function testProcess()
107107
$response = new Response('foo <!--#include virtual="foo\'" -->');
108108
$ssi->process($request, $response);
109109

110-
$this->assertEquals("foo <?php echo \$this->surrogate->handle(\$this, 'foo\\'', '', false) ?>"."\n", $response->getContent());
110+
$this->assertEquals("foo <?php echo \$this->surrogate->handle(\$this, 'foo\\'', '', false) ?>\n", $response->getContent());
111111
}
112112

113113
public function testProcessEscapesPhpTags()

0 commit comments

Comments
 (0)