Completed
Pull Request — master (#904)
by
unknown
10:27
created
src/SWP/Bundle/CoreBundle/Controller/ExternalOauthController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 namespace SWP\Bundle\CoreBundle\Controller;
6 6
 
7
-use KnpU\OAuth2ClientBundle\Client\ClientRegistry;
8 7
 use Symfony\Component\HttpFoundation\Request;
9 8
 use Symfony\Component\HttpFoundation\Response;
10 9
 use Symfony\Component\HttpFoundation\RedirectResponse;
11
-use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
12 10
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
13 11
 use Symfony\Component\Routing\Annotation\Route;
14 12
 
Please login to merge, or discard this patch.
SWP/Bundle/CoreBundle/Security/Authenticator/ExternalOauthAuthenticator.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,9 +4,6 @@
 block discarded – undo
4 4
 
5 5
 namespace SWP\Bundle\CoreBundle\Security\Authenticator;
6 6
 
7
-use Doctrine\ORM\EntityManagerInterface;
8
-use SWP\Bundle\CoreBundle\Model\UserInterface as CoreUserInterface;
9
-use SWP\Bundle\CoreBundle\Security\Provider\UserProvider;
10 7
 use Symfony\Component\Security\Core\User\UserInterface;
11 8
 use KnpU\OAuth2ClientBundle\Security\Authenticator\SocialAuthenticator;
12 9
 use KnpU\OAuth2ClientBundle\Client\ClientRegistry;
Please login to merge, or discard this patch.