Completed
Push — dependabot/composer/gesdinet/j... ( 2934a9...195944 )
by
unknown
26:55 queued 16:53
created
src/SWP/Bundle/CoreBundle/Controller/ThemesController.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
         $tenantCode = $tenant->getCode();
85 85
         $themes = array_filter(
86 86
             $this->get('sylius.repository.theme')->findAll(),
87
-            static function ($element) use (&$tenantCode) {
87
+            static function($element) use (&$tenantCode) {
88 88
                 if (strpos($element->getName(), ThemeHelper::SUFFIX_SEPARATOR.$tenantCode)) {
89 89
                     return true;
90 90
                 }
Please login to merge, or discard this patch.
src/SWP/Bundle/CoreBundle/Matcher/RulesMatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 
144 144
         $ids = array_column($rules['tenants'], 'tenant');
145 145
         $ids = array_unique($ids);
146
-        $tenants = array_filter($rules['tenants'], static function ($key, $value) use ($ids) {
146
+        $tenants = array_filter($rules['tenants'], static function($key, $value) use ($ids) {
147 147
             return array_key_exists($value, $ids);
148 148
         }, ARRAY_FILTER_USE_BOTH);
149 149
 
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.