Skip to content

Commit abd6575

Browse files
CS fix
1 parent 9fc7882 commit abd6575

13 files changed

+21
-6
lines changed

Request.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,9 +1573,9 @@ public function getContent(bool $asResource = false)
15731573
/**
15741574
* Gets the request body decoded as array, typically from a JSON payload.
15751575
*
1576-
* @throws JsonException When the body cannot be decoded to an array
1577-
*
15781576
* @return array
1577+
*
1578+
* @throws JsonException When the body cannot be decoded to an array
15791579
*/
15801580
public function toArray()
15811581
{

Session/Storage/Handler/PdoSessionHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ private function buildDsnFromUrl(string $dsnOrUrl): string
530530
return $dsn;
531531
}
532532
}
533-
// If "unix_socket" is not in the query, we continue with the same process as pgsql
534-
// no break
533+
// If "unix_socket" is not in the query, we continue with the same process as pgsql
534+
// no break
535535
case 'pgsql':
536536
$dsn ?? $dsn = 'pgsql:';
537537

StreamedResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ public function sendContent()
114114
/**
115115
* {@inheritdoc}
116116
*
117-
* @throws \LogicException when the content is not null
118-
*
119117
* @return $this
118+
*
119+
* @throws \LogicException when the content is not null
120120
*/
121121
public function setContent(?string $content)
122122
{

Tests/Session/Storage/Handler/AbstractRedisSessionHandlerTestCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
/**
1818
* @requires extension redis
19+
*
1920
* @group time-sensitive
2021
*/
2122
abstract class AbstractRedisSessionHandlerTestCase extends TestCase

Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818

1919
/**
2020
* @author Markus Bachmann <markus.bachmann@bachi.biz>
21+
*
2122
* @group time-sensitive
23+
*
2224
* @requires extension mongodb
2325
*/
2426
class MongoDbSessionHandlerTest extends TestCase

Tests/Session/Storage/Handler/NativeFileSessionHandlerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* @author Drak <drak@zikula.org>
2222
*
2323
* @runTestsInSeparateProcesses
24+
*
2425
* @preserveGlobalState disabled
2526
*/
2627
class NativeFileSessionHandlerTest extends TestCase

Tests/Session/Storage/Handler/NullSessionHandlerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* @author Drak <drak@zikula.org>
2323
*
2424
* @runTestsInSeparateProcesses
25+
*
2526
* @preserveGlobalState disabled
2627
*/
2728
class NullSessionHandlerTest extends TestCase

Tests/Session/Storage/Handler/PdoSessionHandlerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
/**
1818
* @requires extension pdo_sqlite
19+
*
1920
* @group time-sensitive
2021
*/
2122
class PdoSessionHandlerTest extends TestCase

Tests/Session/Storage/Handler/SessionHandlerFactoryTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* @author Simon <simon.chrzanowski@quentic.com>
2323
*
2424
* @runTestsInSeparateProcesses
25+
*
2526
* @preserveGlobalState disabled
2627
*/
2728
class SessionHandlerFactoryTest extends TestCase

Tests/Session/Storage/NativeSessionStorageTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
* These tests require separate processes.
2828
*
2929
* @runTestsInSeparateProcesses
30+
*
3031
* @preserveGlobalState disabled
3132
*/
3233
class NativeSessionStorageTest extends TestCase

0 commit comments

Comments
 (0)