Completed
Push — master ( a947a9...3cf394 )
by Kamil
27:22 queued 04:23
created
src/Sylius/Bundle/MoneyBundle/DependencyInjection/SyliusMoneyExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function load(array $config, ContainerBuilder $container)
29 29
     {
30 30
         $config = $this->processConfiguration($this->getConfiguration([], $container), $config);
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
 
33 33
         $container->setParameter('sylius_money.locale', $config['locale']);
34 34
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             return;
45 45
         }
46 46
 
47
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
47
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
48 48
         $loader->load('services/integrations/currency.xml');
49 49
     }
50 50
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Storage/StorageInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,12 +33,13 @@
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param string $name
36
-     * @param mixed $value
36
+     * @param string $value
37 37
      */
38 38
     public function set($name, $value);
39 39
 
40 40
     /**
41 41
      * @param string $name
42
+     * @return void
42 43
      */
43 44
     public function remove($name);
44 45
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Checkout/CheckoutRedirectListener.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,11 +11,8 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\CoreBundle\Checkout;
13 13
 
14
-use Sylius\Bundle\ResourceBundle\Controller\RedirectHandlerInterface;
15
-use Sylius\Bundle\ResourceBundle\Controller\RequestConfiguration;
16 14
 use Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent;
17 15
 use Sylius\Component\Core\Model\OrderInterface;
18
-use Sylius\Component\Resource\Model\ResourceInterface;
19 16
 use Symfony\Component\HttpFoundation\RedirectResponse;
20 17
 use Symfony\Component\HttpFoundation\RequestMatcherInterface;
21 18
 use Symfony\Component\HttpFoundation\RequestStack;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/EmailManager/ContactEmailManagerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
     /**
20 20
      * @param array $data
21 21
      * @param array $recipients
22
+     * @return void
22 23
      */
23 24
     public function sendContactRequest(array $data, array $recipients);
24 25
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/EmailManager/OrderEmailManagerInterface.php 1 patch
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 sendConfirmationEmail(OrderInterface $order);
25 26
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/EmailManager/ShipmentEmailManagerInterface.php 1 patch
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 ShipmentInterface $shipment
23
+     * @return void
23 24
      */
24 25
     public function sendConfirmationEmail(ShipmentInterface $shipment);
25 26
 }
Please login to merge, or discard this patch.
CoreBundle/Validator/Constraints/OrderProductEligibilityValidator.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -23,9 +23,6 @@
 block discarded – undo
23 23
 final class OrderProductEligibilityValidator extends ConstraintValidator
24 24
 {
25 25
     /**
26
-     * @param OrderInterface $value
27
-     *
28
-     * {@inheritdoc}
29 26
      */
30 27
     public function validate($order, Constraint $constraint)
31 28
     {
Please login to merge, or discard this patch.
Validator/Constraints/OrderShippingMethodEligibilityValidator.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -36,9 +36,6 @@
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-     * @param OrderInterface $value
40
-     *
41
-     * {@inheritdoc}
42 39
      */
43 40
     public function validate($order, Constraint $constraint)
44 41
     {
Please login to merge, or discard this patch.
tests/Controller/OrderApiTest.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,6 @@
 block discarded – undo
12 12
 namespace Sylius\Tests\Controller;
13 13
 
14 14
 use Lakion\ApiTestCase\JsonApiTestCase;
15
-use Sylius\Component\Core\Model\OrderInterface;
16
-use Sylius\Component\Order\Model\OrderItemInterface;
17 15
 use Symfony\Component\HttpFoundation\Response;
18 16
 
19 17
 /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
62 62
         $orderData = $this->loadFixturesFromFile('resources/cart.yml');
63 63
 
64
-        $this->client->request('GET', '/api/v1/orders/'.$orderData['order_001']->getId(), [], [], static::$authorizedHeaderWithAccept);
64
+        $this->client->request('GET', '/api/v1/orders/' . $orderData['order_001']->getId(), [], [], static::$authorizedHeaderWithAccept);
65 65
 
66 66
         $response = $this->client->getResponse();
67 67
         $this->assertResponse($response, 'order/cart_show_response', Response::HTTP_OK);
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         $this->loadFixturesFromFile('authentication/api_administrator.yml');
76 76
         $orderData = $this->loadFixturesFromFile('resources/order.yml');
77 77
 
78
-        $this->client->request('GET', '/api/v1/orders/'.$orderData['order_001']->getId(), [], [], static::$authorizedHeaderWithAccept);
78
+        $this->client->request('GET', '/api/v1/orders/' . $orderData['order_001']->getId(), [], [], static::$authorizedHeaderWithAccept);
79 79
 
80 80
         $response = $this->client->getResponse();
81 81
         $this->assertResponse($response, 'order/order_show_response', Response::HTTP_OK);
Please login to merge, or discard this patch.