@@ -21,7 +21,6 @@ |
||
| 21 | 21 | use function explode; |
| 22 | 22 | use Knp\Component\Pager\Pagination\SlidingPagination; |
| 23 | 23 | use Knp\Component\Pager\PaginatorInterface; |
| 24 | -use OldSound\RabbitMqBundle\RabbitMq\ProducerInterface; |
|
| 25 | 24 | use SWP\Bundle\CoreBundle\Repository\PackageRepositoryInterface; |
| 26 | 25 | use SWP\Bundle\MultiTenancyBundle\MultiTenancyEvents; |
| 27 | 26 | use SWP\Component\Bridge\Model\PackageInterface; |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | use Doctrine\DBAL\Exception\NotNullConstraintViolationException; |
| 20 | 20 | use Doctrine\ORM\EntityManagerInterface; |
| 21 | -use Doctrine\ORM\NonUniqueResultException; |
|
| 22 | 21 | use Psr\Log\LoggerInterface; |
| 23 | 22 | use Sentry\Breadcrumb; |
| 24 | 23 | use Sentry\State\HubInterface; |
@@ -16,15 +16,7 @@ |
||
| 16 | 16 | |
| 17 | 17 | namespace SWP\Bundle\CoreBundle\MessageHandler; |
| 18 | 18 | |
| 19 | -use Doctrine\ORM\EntityManagerInterface; |
|
| 20 | -use Psr\Log\LoggerInterface; |
|
| 21 | -use Sentry\State\HubInterface; |
|
| 22 | -use SWP\Bundle\BridgeBundle\Doctrine\ORM\PackageRepository; |
|
| 23 | -use SWP\Bundle\CoreBundle\Hydrator\PackageHydratorInterface; |
|
| 24 | 19 | use SWP\Bundle\CoreBundle\MessageHandler\Message\ContentPushMessage; |
| 25 | -use SWP\Component\Bridge\Transformer\DataTransformerInterface; |
|
| 26 | -use SWP\Component\MultiTenancy\Context\TenantContextInterface; |
|
| 27 | -use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
|
| 28 | 20 | use Symfony\Component\Messenger\Handler\MessageHandlerInterface; |
| 29 | 21 | |
| 30 | 22 | class ContentPushHandler implements MessageHandlerInterface |