Skip to content

Commit 0c2ee0d

Browse files
committed
Automated fixes
1 parent f8b81dd commit 0c2ee0d

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.php-cs-fixer.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
'@Symfony:risky' => true,
77
'@PHP8x4Migration' => true,
88
'@PHP8x4Migration:risky' => true,
9-
'@PHPUnit10x0Migration:risky' => true,
9+
'@PHPUnit11x0Migration:risky' => true,
1010
'array_syntax' => ['syntax' => 'short'],
1111
'blank_line_after_opening_tag' => false,
12+
'declare_strict_types' => ['strategy' => 'enforce'],
1213
'fopen_flags' => false,
1314
'linebreak_after_opening_tag' => false,
1415
'no_superfluous_phpdoc_tags' => ['remove_inheritdoc' => true],

rector.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@
3232
__DIR__.'/vendor/phpstan/phpstan-symfony/extension.neon',
3333
__DIR__.'/phpstan.neon',
3434
])
35+
->withComposerBased(phpunit: true)
3536
->withPhpSets()
3637
->withPreparedSets(codeQuality: true, phpunitCodeQuality: true);

src/Authentication/Provider/SessionAuthenticationProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private function getToken(Connection $connection): TokenInterface
8383

8484
foreach ($this->firewalls as $firewall) {
8585
if (false !== $serializedToken = $session->get($sessionKey = '_security_'.$firewall, false)) {
86-
if (!is_string($serializedToken)) {
86+
if (!\is_string($serializedToken)) {
8787
$this->logger?->debug('Session has a non-string serialized token.', [
8888
'key' => $sessionKey,
8989
'type' => get_debug_type($serializedToken),

0 commit comments

Comments
 (0)