Completed
Push — unused-compiler-pass ( 93ebf5 )
by Kamil
31:23 queued 11:08
created
Bundle/AddressingBundle/DependencyInjection/SyliusAddressingExtension.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -15,8 +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\Parameter;
19
-use Symfony\Component\DependencyInjection\Reference;
20 18
 
21 19
 /**
22 20
  * @author Paweł Jędrzejewski <[email protected]>
Please login to merge, or discard this patch.
Sylius/Bundle/MailerBundle/DependencyInjection/SyliusMailerExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.
Bundle/CurrencyBundle/DependencyInjection/SyliusCurrencyExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/PayumBundle/DependencyInjection/SyliusPayumExtension.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function load(array $config, ContainerBuilder $container)
30 30
     {
31
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
31
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
32 32
         $loader->load('services.xml');
33 33
         $loader->load('twig.xml');
34 34
     }
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -11,8 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\PayumBundle\DependencyInjection;
13 13
 
14
-use Payum\Bundle\PayumBundle\DependencyInjection\MainConfiguration as PayumConfiguration;
15
-use Payum\Bundle\PayumBundle\DependencyInjection\PayumExtension;
16 14
 use Sylius\Bundle\ResourceBundle\DependencyInjection\Extension\AbstractResourceExtension;
17 15
 use Symfony\Component\Config\FileLocator;
18 16
 use Symfony\Component\DependencyInjection\ContainerBuilder;
Please login to merge, or discard this patch.
src/Sylius/Component/Registry/spec/ServiceRegistrySpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Component\Registry;
13 13
 
14
-require_once __DIR__.'/Fixture/SampleServiceInterface.php';
14
+require_once __DIR__ . '/Fixture/SampleServiceInterface.php';
15 15
 
16 16
 use PhpSpec\ObjectBehavior;
17 17
 use Prophecy\Argument;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingProductsContext.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -205,6 +205,7 @@
 block discarded – undo
205 205
      * @Then the product :productName should appear in the shop
206 206
      * @Then the product :productName should be in the shop
207 207
      * @Then this product should still be named :productName
208
+     * @param string $productName
208 209
      */
209 210
     public function theProductShouldAppearInTheShop($productName)
210 211
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
 use Sylius\Behat\NotificationType;
17 17
 use Sylius\Behat\Page\Admin\Crud\CreatePageInterface;
18 18
 use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface;
19
+use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface;
19 20
 use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface;
20 21
 use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface;
21 22
 use Sylius\Behat\Page\Admin\Product\IndexPageInterface;
22 23
 use Sylius\Behat\Page\Admin\Product\IndexPerTaxonPageInterface;
23 24
 use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface;
24 25
 use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface;
25
-use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface;
26 26
 use Sylius\Behat\Page\SymfonyPageInterface;
27 27
 use Sylius\Behat\Service\NotificationCheckerInterface;
28 28
 use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface;
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingProductVariantsContext.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,6 +150,7 @@  discard block
 block discarded – undo
150 150
 
151 151
     /**
152 152
      * @Then the :productVariantCode variant of the :product product should appear in the shop
153
+     * @param string $productVariantCode
153 154
      */
154 155
     public function theProductVariantShouldAppearInTheShop($productVariantCode, ProductInterface $product)
155 156
     {
@@ -451,7 +452,7 @@  discard block
 block discarded – undo
451 452
 
452 453
     /**
453 454
      * @param string $element
454
-     * @param $message
455
+     * @param string $message
455 456
      */
456 457
     private function assertValidationMessage($element, $message)
457 458
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
      */
167 167
     public function iSetItsPriceTo($price = null, $channel = null)
168 168
     {
169
-        $this->createPage->specifyPrice($price, (null === $channel) ? $this->sharedStorage->get('channel') :$channel);
169
+        $this->createPage->specifyPrice($price, (null === $channel) ? $this->sharedStorage->get('channel') : $channel);
170 170
     }
171 171
 
172 172
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Account/LoginPageInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -25,15 +25,20 @@
 block discarded – undo
25 25
      */
26 26
     public function hasValidationErrorWith($message);
27 27
 
28
+    /**
29
+     * @return void
30
+     */
28 31
     public function logIn();
29 32
 
30 33
     /**
31 34
      * @param string $password
35
+     * @return void
32 36
      */
33 37
     public function specifyPassword($password);
34 38
 
35 39
     /**
36 40
      * @param string $userName
41
+     * @return void
37 42
      */
38 43
     public function specifyUserName($userName);
39 44
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Administrator/CreatePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -39,25 +39,32 @@
 block discarded – undo
39 39
      */
40 40
     public function checkGenerationValidation($message);
41 41
 
42
+    /**
43
+     * @return void
44
+     */
42 45
     public function generate();
43 46
 
44 47
     /**
45 48
      * @param int $amount
49
+     * @return void
46 50
      */
47 51
     public function specifyAmount($amount);
48 52
 
49 53
     /**
50 54
      * @param int $codeLength
55
+     * @return void
51 56
      */
52 57
     public function specifyCodeLength($codeLength);
53 58
 
54 59
     /**
55 60
      * @param \DateTime $date
61
+     * @return void
56 62
      */
57 63
     public function setExpiresAt(\DateTime $date);
58 64
 
59 65
     /**
60 66
      * @param int $limit
67
+     * @return void
61 68
      */
62 69
     public function setUsageLimit($limit);
63 70
 }
Please login to merge, or discard this patch.