Completed
Push — pull-request/8500 ( e49efc...54b484 )
by Kamil
36:05 queued 17:36
created
src/Sylius/Bundle/CoreBundle/Remover/ReviewerReviewsRemover.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,9 +14,9 @@
 block discarded – undo
14 14
 use Doctrine\Common\Persistence\ObjectManager;
15 15
 use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository;
16 16
 use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface;
17
+use Sylius\Component\Review\Model\ReviewInterface;
17 18
 use Sylius\Component\Review\Model\ReviewableInterface;
18 19
 use Sylius\Component\Review\Model\ReviewerInterface;
19
-use Sylius\Component\Review\Model\ReviewInterface;
20 20
 
21 21
 /**
22 22
  * @author Grzegorz Sadowski <[email protected]>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\CoreBundle\Remover;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Remover/ReviewerReviewsRemoverInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param ReviewerInterface $author
23
+     * @return void
23 24
      */
24 25
     public function removeReviewerReviews(ReviewerInterface $author);
25 26
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\CoreBundle\Remover;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Security/UserImpersonatorInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param UserInterface $user
23
+     * @return void
23 24
      */
24 25
     public function impersonate(UserInterface $user);
25 26
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\CoreBundle\Security;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/OrderBundle/DependencyInjection/SyliusOrderExtension.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,6 @@
 block discarded – undo
15 15
 use Symfony\Component\Config\FileLocator;
16 16
 use Symfony\Component\DependencyInjection\ContainerBuilder;
17 17
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
18
-use Symfony\Component\DependencyInjection\Reference;
19 18
 
20 19
 /**
21 20
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\OrderBundle\DependencyInjection;
15 15
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function load(array $config, ContainerBuilder $container): void
31 31
     {
32 32
         $config = $this->processConfiguration($this->getConfiguration([], $container), $config);
33
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
33
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
34 34
 
35 35
         $loader->load(sprintf('services/integrations/%s.xml', $config['driver']));
36 36
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ProductBundle/Controller/ProductAttributeController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
17 17
 use Sylius\Component\Attribute\Model\AttributeInterface;
18 18
 use Symfony\Component\Form\FormView;
19
-use Symfony\Component\HttpFoundation\JsonResponse;
20 19
 use Symfony\Component\HttpFoundation\Request;
21 20
 use Symfony\Component\HttpFoundation\Response;
22 21
 use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ProductBundle\Controller;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Currency/CurrencyStorageInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * @param ChannelInterface $channel
24 24
      * @param string $currencyCode
25
+     * @return void
25 26
      */
26 27
     public function set(ChannelInterface $channel, $currencyCode);
27 28
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Core\Currency;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Customer/CustomerAddressAdderInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
     /**
23 23
      * @param CustomerInterface $customer
24 24
      * @param AddressInterface $address
25
+     * @return void
25 26
      */
26 27
     public function add(CustomerInterface $customer, AddressInterface $address);
27 28
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Core\Customer;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Customer/OrderAddressesSaverInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param OrderInterface $order
23
+     * @return void
23 24
      */
24 25
     public function saveAddresses(OrderInterface $order);
25 26
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Core\Customer;
15 15
 
Please login to merge, or discard this patch.
Component/Core/Inventory/Operator/OrderInventoryOperatorInterface.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,11 +22,13 @@  discard block
 block discarded – undo
22 22
      * @param OrderInterface $order
23 23
      *
24 24
      * @throws \InvalidArgumentException
25
+     * @return void
25 26
      */
26 27
     public function cancel(OrderInterface $order);
27 28
     
28 29
     /**
29 30
      * @param OrderInterface $order
31
+     * @return void
30 32
      */
31 33
     public function hold(OrderInterface $order);
32 34
 
@@ -34,6 +36,7 @@  discard block
 block discarded – undo
34 36
      * @param OrderInterface $order
35 37
      *
36 38
      * @throws \InvalidArgumentException
39
+     * @return void
37 40
      */
38 41
     public function sell(OrderInterface $order);
39 42
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Core\Inventory\Operator;
15 15
 
Please login to merge, or discard this patch.