Completed
Pull Request — master (#904)
by Paweł
11:37
created
src/SWP/Bundle/CoreBundle/Controller/ThemesController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Nelmio\ApiDocBundle\Annotation\Model;
19 19
 use SWP\Bundle\CoreBundle\Form\Type\ThemeInstallType;
20 20
 use SWP\Bundle\CoreBundle\Form\Type\ThemeUploadType;
21
-use SWP\Bundle\CoreBundle\Model\Tenant;
22 21
 use SWP\Bundle\CoreBundle\Model\TenantInterface;
23 22
 use SWP\Bundle\CoreBundle\Theme\Helper\ThemeHelper;
24 23
 use SWP\Component\Common\Response\ResourcesListResponseInterface;
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Service/ArticleStatisticsService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use SWP\Bundle\ContentBundle\Doctrine\ArticleRepositoryInterface;
25 25
 use SWP\Bundle\ContentBundle\Model\ArticleInterface;
26 26
 use SWP\Bundle\ContentBundle\Model\RouteInterface;
27
-use SWP\Bundle\CoreBundle\Model\Article;
28 27
 use SWP\Component\Storage\Factory\FactoryInterface;
29 28
 use SWP\Component\Storage\Repository\RepositoryInterface;
30 29
 
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Consumer/ContentPushConsumer.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -16,10 +16,8 @@
 block discarded – undo
16 16
 
17 17
 namespace SWP\Bundle\CoreBundle\Consumer;
18 18
 
19
-use Doctrine\DBAL\DBALException;
20 19
 use Doctrine\DBAL\Exception\NotNullConstraintViolationException;
21 20
 use Doctrine\ORM\EntityManagerInterface;
22
-use Doctrine\ORM\NonUniqueResultException;
23 21
 use Doctrine\ORM\ORMException;
24 22
 use Exception;
25 23
 use OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface;
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Controller/ExternalOauthController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 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
-use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
10 8
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
11 9
 use Symfony\Component\Routing\Annotation\Route;
12 10
 
Please login to merge, or discard this patch.
SWP/Bundle/CoreBundle/Security/Authenticator/ExternalOauthAuthenticator.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,10 +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
-use Symfony\Component\Security\Core\User\UserInterface;
11 7
 use KnpU\OAuth2ClientBundle\Security\Authenticator\SocialAuthenticator;
12 8
 use KnpU\OAuth2ClientBundle\Client\ClientRegistry;
13 9
 use Symfony\Component\HttpFoundation\Request;
Please login to merge, or discard this patch.