Completed
Push — promotions-actions-rules-fixes ( ae1eb5...6deece )
by Kamil
50:04 queued 30:31
created
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.
Sylius/Bundle/ContentBundle/DependencyInjection/SyliusContentExtension.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   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Symfony\Component\DependencyInjection\ContainerBuilder;
17 17
 use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
18 18
 use Symfony\Component\DependencyInjection\Parameter;
19
-use Symfony\Component\DependencyInjection\Reference;
20 19
 
21 20
 /**
22 21
  * @author Paweł Jędrzejewski <[email protected]>
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.
web/app_dev.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@
 block discarded – undo
21 21
     || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1'], true) || php_sapi_name() === 'cli-server')
22 22
 ) {
23 23
     header('HTTP/1.0 403 Forbidden');
24
-    exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
24
+    exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.');
25 25
 }
26 26
 
27
-require_once __DIR__.'/../app/bootstrap.php.cache';
28
-require_once __DIR__.'/../app/AppKernel.php';
27
+require_once __DIR__ . '/../app/bootstrap.php.cache';
28
+require_once __DIR__ . '/../app/AppKernel.php';
29 29
 
30 30
 $kernel = new AppKernel('test_cached', false);
31 31
 $kernel->loadClassCache();
Please login to merge, or discard this patch.
web/app_test.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,11 +21,11 @@
 block discarded – undo
21 21
     || !(in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', 'fe80::1', '::1', '113.0.0.1'], true) || php_sapi_name() === 'cli-server')
22 22
 ) {
23 23
     header('HTTP/1.0 403 Forbidden');
24
-    exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
24
+    exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.');
25 25
 }
26 26
 
27
-require_once __DIR__.'/../app/bootstrap.php.cache';
28
-require_once __DIR__.'/../app/AppKernel.php';
27
+require_once __DIR__ . '/../app/bootstrap.php.cache';
28
+require_once __DIR__ . '/../app/AppKernel.php';
29 29
 
30 30
 $kernel = new AppKernel('test_cached', false);
31 31
 $kernel->loadClassCache();
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Transform/OrderContext.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,8 @@
 block discarded – undo
12 12
 namespace Sylius\Behat\Context\Transform;
13 13
 
14 14
 use Behat\Behat\Context\Context;
15
-use Sylius\Component\Core\Model\OrderInterface;
16
-use Sylius\Component\Core\Repository\OrderRepositoryInterface;
17 15
 use Sylius\Component\Core\Repository\CustomerRepositoryInterface;
16
+use Sylius\Component\Core\Repository\OrderRepositoryInterface;
18 17
 use Webmozart\Assert\Assert;
19 18
 
20 19
 /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Transform/ProductVariantContext.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 Behat\Behat\Context\Context;
15 15
 use Sylius\Component\Core\Repository\ProductRepositoryInterface;
16
-use Sylius\Component\Core\Repository\ProductVariantRepositoryInterface;
17 16
 use Sylius\Component\Resource\Repository\RepositoryInterface;
18 17
 use Webmozart\Assert\Assert;
19 18
 
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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,16 +15,16 @@
 block discarded – undo
15 15
 use Sylius\Behat\NotificationType;
16 16
 use Sylius\Behat\Page\Admin\Crud\CreatePageInterface;
17 17
 use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface;
18
+use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface;
18 19
 use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface;
19 20
 use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface;
20 21
 use Sylius\Behat\Page\Admin\Product\IndexPageInterface;
21 22
 use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface;
22 23
 use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface;
23
-use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface;
24 24
 use Sylius\Behat\Service\NotificationCheckerInterface;
25 25
 use Sylius\Behat\Service\Resolver\CurrentProductPageResolverInterface;
26
-use Sylius\Component\Core\Model\ProductInterface;
27 26
 use Sylius\Behat\Service\SharedStorageInterface;
27
+use Sylius\Component\Core\Model\ProductInterface;
28 28
 use Sylius\Component\Taxonomy\Model\TaxonInterface;
29 29
 use Webmozart\Assert\Assert;
30 30
 
Please login to merge, or discard this patch.