Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set release date, remove deprecations #186

Merged
merged 1 commit into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Add frontend user authentication and document restriction to pimcore.

| Release | Supported Pimcore Versions | Supported Symfony Versions | Release Date | Maintained | Branch |
|---------|-----------------------------------|----------------------------|--------------|----------------|----------|
| **5.x** | `11.0` | `6.2` | -- | Feature Branch | master |
| **5.x** | `11.0` | `6.2` | 28.09.2023 | Feature Branch | master |
| **4.x** | `10.5 - 10.6` | `5.4` | 22.11.2021 | Unsupported | 4.x |
| **3.x** | `6.0` - `6.8` | `3.4`, `^4.4` | 21.07.2019 | Unsupported | 3.x |
| **2.5** | `5.4`, `5.5`, `5.6`, `5.7`, `5.8` | `3.4` | 18.07.2019 | Unsupported | 2.5 |
Expand Down
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@
"phpstan/phpstan-symfony": "^1.0",
"symplify/easy-coding-standard": "^9.0"
},
"conflict": {
"league/csv": "9.11.0"
},
"suggest": {
"knpuniversity/oauth2-client-bundle": "^2.0"
}
Expand Down
6 changes: 0 additions & 6 deletions config/services/oauth/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ services:
arguments:
$scopes: '%members.oauth.scopes%'

MembersBundle\Security\OAuthIdentityAuthenticator:
deprecated:
message: 'The "%service_id%" service is deprecated. Use MembersBundle\Security\Authenticator\OAuthIdentityAuthenticator instead'
package: dachcom-digital/members
version: 4.1

MembersBundle\Security\Authenticator\OAuthIdentityAuthenticator: ~

MembersBundle\Security\OAuth\Dispatcher\ConnectDispatcher: ~
Expand Down
3 changes: 0 additions & 3 deletions src/EventListener/AuthenticationListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ public function __construct(
) {
}

/**
* {@inheritdoc}
*/
public static function getSubscribedEvents(): array
{
return [
Expand Down
5 changes: 0 additions & 5 deletions src/Security/UserProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ public function __construct(
) {
}

public function loadUserByUsername(string $username)
{
throw new UnsupportedUserException('loadUserByUsername is not supported anymore. use loadUserByIdentifier instead.');
}

public function loadUserByIdentifier(string $identifier): UserInterface
{
$user = $this->findUser($identifier);
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Security/UserProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ protected function setUp(): void
$this->userProvider = new UserProvider('username', $this->userManager);
}

public function testLoadUserByUsername(): void
public function testLoadUserByIdentifier(): void
{
$user = $this->getMockBuilder(UserInterface::class)->getMock();

Expand Down
Loading