Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 2c270ca

Browse files
committed
add support symfony 6
1 parent 541e76b commit 2c270ca

File tree

3 files changed

+5
-25
lines changed

3 files changed

+5
-25
lines changed

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"php": ">=8.0",
1818
"php-istio/jwt-payload-extractor": "^v1.1.1",
1919
"symfony/psr7-pack": "^1.0",
20-
"symfony/security-bundle": "^5.3||^6.0"
20+
"symfony/security-bundle": "^6.0"
2121
},
2222
"autoload": {
2323
"psr-4": {
@@ -30,9 +30,9 @@
3030
}
3131
},
3232
"require-dev": {
33-
"symfony/browser-kit": "^5.3||^6.0",
34-
"symfony/console": "^5.3||^6.0",
35-
"symfony/framework-bundle": "^5.3||^6.0",
36-
"symfony/phpunit-bridge": "^5.3||^6.0"
33+
"symfony/browser-kit": "^6.0",
34+
"symfony/console": "^6.0",
35+
"symfony/framework-bundle": "^6.0",
36+
"symfony/phpunit-bridge": "^6.0"
3737
}
3838
}

src/User/StatelessUserProvider.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,4 @@ public function supportsClass(string $class): bool
4646
{
4747
return is_a($class, StatelessUserInterface::class, true);
4848
}
49-
50-
public function loadUserByUsername(string $username)
51-
{
52-
// Deprecated
53-
}
5449
}

tests/Fixtures/StatelessUser.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,26 +29,11 @@ public function getRoles(): array
2929
return [];
3030
}
3131

32-
public function getPassword()
33-
{
34-
// TODO: Implement getPassword() method.
35-
}
36-
37-
public function getSalt()
38-
{
39-
// TODO: Implement getSalt() method.
40-
}
41-
4232
public function eraseCredentials()
4333
{
4434
// TODO: Implement eraseCredentials() method.
4535
}
4636

47-
public function getUsername()
48-
{
49-
// TODO: Implement getUsername() method.
50-
}
51-
5237
public function getUserIdentifier(): string
5338
{
5439
// TODO: Implement getUsername() method.

0 commit comments

Comments
 (0)