@@ -102,6 +102,6 @@ |
||
| 102 | 102 | 'href' => $this->router->generate('swp_api_core_get_tenant', ['code' => $tenantCode]), |
| 103 | 103 | ], |
| 104 | 104 | ], |
| 105 | - ]; |
|
| 105 | + ]; |
|
| 106 | 106 | } |
| 107 | 107 | } |
@@ -18,7 +18,6 @@ |
||
| 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; |
@@ -24,7 +24,6 @@ |
||
| 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 | |
@@ -16,10 +16,8 @@ |
||
| 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; |
@@ -4,9 +4,7 @@ |
||
| 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 | |
@@ -4,10 +4,6 @@ |
||
| 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; |