Fix PHPStan errors and PHP CS Fixer import order
- Fix OAuthController: add missing second parameter to redirect() - Fix KeycloakAuthenticator: get email from toArray() instead of getEmail() - Fix KeycloakAuthenticator: type-hint session for getFlashBag() access - Fix import order in KeycloakAuthenticatorTest Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -9,8 +9,8 @@ use Doctrine\ORM\EntityRepository;
|
||||
use KnpU\OAuth2ClientBundle\Client\ClientRegistry;
|
||||
use KnpU\OAuth2ClientBundle\Client\OAuth2ClientInterface;
|
||||
use League\OAuth2\Client\Token\AccessToken;
|
||||
use Stevenmaguire\OAuth2\Client\Provider\KeycloakResourceOwner;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Stevenmaguire\OAuth2\Client\Provider\KeycloakResourceOwner;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Session\Flash\FlashBag;
|
||||
use Symfony\Component\HttpFoundation\Session\Session;
|
||||
|
||||
Reference in New Issue
Block a user