Completed
Push — symfony-3.3 ( 7e5783...b87070 )
by Kamil
20:59
created
src/Sylius/Bundle/CoreBundle/Context/SessionAndChannelBasedCartContext.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Sylius\Component\Channel\Context\ChannelContextInterface;
15 15
 use Sylius\Component\Channel\Context\ChannelNotFoundException;
16
-use Sylius\Component\Core\Model\OrderInterface;
17 16
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
18 17
 use Sylius\Component\Order\Context\CartContextInterface;
19 18
 use Sylius\Component\Order\Context\CartNotFoundException;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/FlashHelperInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,18 +23,21 @@
 block discarded – undo
23 23
      * @param RequestConfiguration $requestConfiguration
24 24
      * @param string $actionName
25 25
      * @param ResourceInterface|null $resource
26
+     * @return void
26 27
      */
27 28
     public function addSuccessFlash(RequestConfiguration $requestConfiguration, $actionName, ResourceInterface $resource = null);
28 29
 
29 30
     /**
30 31
      * @param RequestConfiguration $requestConfiguration
31 32
      * @param string $actionName
33
+     * @return void
32 34
      */
33 35
     public function addErrorFlash(RequestConfiguration $requestConfiguration, $actionName);
34 36
 
35 37
     /**
36 38
      * @param RequestConfiguration $requestConfiguration
37 39
      * @param ResourceControllerEvent $event
40
+     * @return void
38 41
      */
39 42
     public function addFlashFromEvent(RequestConfiguration $requestConfiguration, ResourceControllerEvent $event);
40 43
 }
Please login to merge, or discard this patch.
Sylius/Bundle/ResourceBundle/Controller/ResourceUpdateHandlerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
      * @param ResourceInterface $resource
24 24
      * @param RequestConfiguration $requestConfiguration
25 25
      * @param ObjectManager $manager
26
+     * @return void
26 27
      */
27 28
     public function handle(
28 29
         ResourceInterface $resource,
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/spec/Controller/ResourceControllerSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,8 +25,8 @@
 block discarded – undo
25 25
 use Sylius\Bundle\ResourceBundle\Controller\RequestConfigurationFactoryInterface;
26 26
 use Sylius\Bundle\ResourceBundle\Controller\ResourceController;
27 27
 use Sylius\Bundle\ResourceBundle\Controller\ResourceFormFactoryInterface;
28
-use Sylius\Bundle\ResourceBundle\Controller\ResourcesCollectionProviderInterface;
29 28
 use Sylius\Bundle\ResourceBundle\Controller\ResourceUpdateHandlerInterface;
29
+use Sylius\Bundle\ResourceBundle\Controller\ResourcesCollectionProviderInterface;
30 30
 use Sylius\Bundle\ResourceBundle\Controller\SingleResourceProviderInterface;
31 31
 use Sylius\Bundle\ResourceBundle\Controller\StateMachineInterface;
32 32
 use Sylius\Bundle\ResourceBundle\Controller\ViewHandlerInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/VersionedInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param int $version
26
+     * @return void
26 27
      */
27 28
     public function setVersion($version);
28 29
 }
Please login to merge, or discard this patch.
Bundle/ReviewBundle/Doctrine/ORM/Subscriber/LoadMetadataSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
             'targetEntity' => $reviewableEntity,
86 86
             'inversedBy' => 'reviews',
87 87
             'joinColumns' => [[
88
-                'name' => $subject.'_id',
88
+                'name' => $subject . '_id',
89 89
                 'referencedColumnName' => $reviewableEntityMetadata->fieldMappings['id']['columnName'],
90 90
                 'nullable' => false,
91 91
                 'onDelete' => 'CASCADE',
Please login to merge, or discard this patch.
tests/Controller/CountryApiTest.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
         {
73 73
             "code": "BE"
74 74
         }
75
-EOT;
75
+eot;
76 76
 
77 77
         $this->client->request('POST', '/api/v1/countries/', [], [], static::$authorizedHeaderWithContentType, $data);
78 78
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
                 }
99 99
             ]
100 100
         }
101
-EOT;
101
+eot;
102 102
 
103 103
         $this->client->request('POST', '/api/v1/countries/', [], [], static::$authorizedHeaderWithContentType, $data);
104 104
 
Please login to merge, or discard this patch.
tests/Controller/ExchangeRateApiTest.php 1 patch
Upper-Lower-Casing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             "sourceCurrency": "EUR",
76 76
             "targetCurrency": "GBP"
77 77
         }
78
-EOT;
78
+eot;
79 79
 
80 80
         $this->client->request('POST', '/api/v1/exchange-rates/', [], [], static::$authorizedHeaderWithContentType, $data);
81 81
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
             "sourceCurrency": "EUR",
99 99
             "targetCurrency": "GBP"
100 100
         }
101
-EOT;
101
+eot;
102 102
 
103 103
         $this->client->request('POST', '/api/v1/exchange-rates/', [], [], static::$authorizedHeaderWithContentType, $data);
104 104
 
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
         {
230 230
             "ratio": 0.84
231 231
         }
232
-EOT;
232
+eot;
233 233
 
234 234
         $this->client->request('PUT', $this->getExchangeRateUrl($exchangeRate), [], [], static::$authorizedHeaderWithContentType, $data);
235 235
 
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
             "sourceCurrency": "GBP",
262 262
             "targetCurrency": "EUR"
263 263
         }
264
-EOT;
264
+eot;
265 265
 
266 266
         $this->client->request('PATCH', $this->getExchangeRateUrl($exchangeRate), [], [], static::$authorizedHeaderWithContentType, $data);
267 267
 
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
         {
291 291
             "ratio": "its-a-trap"
292 292
         }
293
-EOT;
293
+eot;
294 294
 
295 295
         $this->client->request('PUT', $this->getExchangeRateUrl($exchangeRate), [], [], static::$authorizedHeaderWithContentType, $data);
296 296
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Fixture/Factory/ProductExampleFactory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Sylius\Bundle\CoreBundle\Fixture\OptionsResolver\LazyOption;
15 15
 use Sylius\Component\Attribute\AttributeType\SelectAttributeType;
16 16
 use Sylius\Component\Core\Formatter\StringInflector;
17
-use Sylius\Component\Core\Model\ChannelInterface;
18 17
 use Sylius\Component\Core\Model\ChannelPricingInterface;
19 18
 use Sylius\Component\Core\Model\ImageInterface;
20 19
 use Sylius\Component\Core\Model\ProductInterface;
Please login to merge, or discard this patch.