Skip to content

Commit 88bb0c2

Browse files
CS fix
1 parent 934dd9f commit 88bb0c2

File tree

8 files changed

+12
-10
lines changed

8 files changed

+12
-10
lines changed

ControllerMetadata/ArgumentMetadata.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ public function isNullable()
107107
/**
108108
* Returns the default value of the argument.
109109
*
110-
* @throws \LogicException if no default value is present; {@see self::hasDefaultValue()}
111-
*
112110
* @return mixed
111+
*
112+
* @throws \LogicException if no default value is present; {@see self::hasDefaultValue()}
113113
*/
114114
public function getDefaultValue()
115115
{

DataCollector/MemoryDataCollector.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ private function convertToBytes(string $memoryLimit)
100100

101101
switch (substr($memoryLimit, -1)) {
102102
case 't': $max *= 1024;
103-
// no break
103+
// no break
104104
case 'g': $max *= 1024;
105-
// no break
105+
// no break
106106
case 'm': $max *= 1024;
107-
// no break
107+
// no break
108108
case 'k': $max *= 1024;
109109
}
110110

Debug/FileLinkFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class FileLinkFormatter
4141

4242
/**
4343
* @param string|array|null $fileLinkFormat
44-
* @param string|\Closure $urlFormat the URL format, or a closure that returns it on-demand
44+
* @param string|\Closure $urlFormat the URL format, or a closure that returns it on-demand
4545
*/
4646
public function __construct($fileLinkFormat = null, RequestStack $requestStack = null, string $baseDir = null, $urlFormat = null)
4747
{

HttpCache/Store.php

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

Kernel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,9 @@ protected function build(ContainerBuilder $container)
404404
/**
405405
* Gets the container class.
406406
*
407-
* @throws \InvalidArgumentException If the generated classname is invalid
408-
*
409407
* @return string
408+
*
409+
* @throws \InvalidArgumentException If the generated classname is invalid
410410
*/
411411
protected function getContainerClass()
412412
{

Tests/EventListener/TestSessionListenerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
* Tests SessionListener.
2929
*
3030
* @author Bulat Shakirzyanov <mallluhuct@gmail.com>
31+
*
3132
* @group legacy
3233
*/
3334
class TestSessionListenerTest extends TestCase

Tests/HttpCache/ResponseCacheStrategyTest.php

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

241241
/**
242242
* @group time-sensitive
243+
*
243244
* @dataProvider cacheControlMergingProvider
244245
*/
245246
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)