Completed
Pull Request — master (#16)
by Kamil
23:36
created
Bundle/GridBundle/DependencyInjection/Compiler/RegisterFieldTypesPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $registry = $container->getDefinition('sylius.registry.grid_filter');
33 33
 
34 34
         foreach ($container->findTaggedServiceIds('sylius.grid_filter') as $id => $attributes) {
35
-            if (!isset($attributes[0]['type']))  {
35
+            if (!isset($attributes[0]['type'])) {
36 36
                 throw new \InvalidArgumentException('Tagged grid filters needs to have `type` attribute.');
37 37
             }
38 38
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/spec/Sitemap/Factory/SitemapUrlFactorySpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     public function getMatchers()
54 54
     {
55 55
         return [
56
-            'beSameAs' => function ($subject, $key) {
56
+            'beSameAs' => function($subject, $key) {
57 57
                 if (!$subject instanceof OrderItemUnitInterface || !$key instanceof OrderItemUnitInterface) {
58 58
                     return false;
59 59
                 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/spec/Sitemap/Factory/SitemapFactorySpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     public function getMatchers()
54 54
     {
55 55
         return [
56
-            'beSameAs' => function ($subject, $key) {
56
+            'beSameAs' => function($subject, $key) {
57 57
                 if (!$subject instanceof OrderItemUnitInterface || !$key instanceof OrderItemUnitInterface) {
58 58
                     return false;
59 59
                 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/External/PaypalExpressCheckoutPage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function pay()
46 46
     {
47
-        $this->getDriver()->visit($this->findCaptureToken()->getTargetUrl() . '?token=EC-2d9EV13959UR209410U&PayerID=UX8WBNYWGBVMG');
47
+        $this->getDriver()->visit($this->findCaptureToken()->getTargetUrl().'?token=EC-2d9EV13959UR209410U&PayerID=UX8WBNYWGBVMG');
48 48
     }
49 49
 
50 50
     /**
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function cancel()
54 54
     {
55
-        $this->getDriver()->visit($this->findCaptureToken()->getTargetUrl() . '?token=EC-2d9EV13959UR209410U&cancelled=1');
55
+        $this->getDriver()->visit($this->findCaptureToken()->getTargetUrl().'?token=EC-2d9EV13959UR209410U&cancelled=1');
56 56
     }
57 57
 
58 58
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/ThankYouPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function waitForResponse($timeout, array $parameters = [])
42 42
     {
43
-        $this->getDocument()->waitFor($timeout, function () use ($parameters) {
43
+        $this->getDocument()->waitFor($timeout, function() use ($parameters) {
44 44
             return $this->isOpen($parameters);
45 45
         });
46 46
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/spec/Checkout/CheckoutProcessScenarioSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         $builder->add('payment', 'sylius_checkout_payment')->willReturn($builder)->shouldBeCalled();
54 54
         $builder->add('finalize', 'sylius_checkout_finalize')->willReturn($builder)->shouldBeCalled();
55 55
         $builder->setRedirect('sylius_order_purchase')->willReturn($builder)->shouldBeCalled();
56
-        $builder->setRedirectParams(['paymentId' => 1])->willReturn($builder)->shouldBeCalled();;
56
+        $builder->setRedirectParams(['paymentId' => 1])->willReturn($builder)->shouldBeCalled(); ;
57 57
 
58 58
         $cart->getId()->willReturn(1);
59 59
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Order/OrderPaymentsPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      */
41 41
     public function waitForResponse($timeout, array $parameters = [])
42 42
     {
43
-        $this->getDocument()->waitFor($timeout, function () use ($parameters) {
43
+        $this->getDocument()->waitFor($timeout, function() use ($parameters) {
44 44
             return $this->isOpen($parameters);
45 45
         });
46 46
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/Setter/CookieSetter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,6 +67,6 @@
 block discarded – undo
67 67
             return;
68 68
         }
69 69
 
70
-        $this->minkSession->visit(rtrim($this->minkParameters['base_url'], '/') . '/');
70
+        $this->minkSession->visit(rtrim($this->minkParameters['base_url'], '/').'/');
71 71
     }
72 72
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/ResponseLoader.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function getMockedResponse($source)
23 23
     {
24
-        $source = $this->getMockedResponsesFolder() . '/' . $source;
24
+        $source = $this->getMockedResponsesFolder().'/'.$source;
25 25
 
26 26
         return (array) json_decode($this->getFileContents($source));
27 27
     }
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function getExpectedResponse($source)
33 33
     {
34
-        $source = $this->getExpectedResponsesFolder() . '/' . $source;
34
+        $source = $this->getExpectedResponsesFolder().'/'.$source;
35 35
 
36 36
         return (array) json_decode($this->getFileContents($source));
37 37
     }
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     private function getResponsesFolder()
43 43
     {
44
-        return $this->getCalledClassFolder() . '/Responses';
44
+        return $this->getCalledClassFolder().'/Responses';
45 45
     }
46 46
 
47 47
     /**
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     private function getMockedResponsesFolder()
51 51
     {
52
-        return $this->getResponsesFolder() . '/Mocked';
52
+        return $this->getResponsesFolder().'/Mocked';
53 53
     }
54 54
 
55 55
     /**
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     private function getExpectedResponsesFolder()
59 59
     {
60
-        return $this->getResponsesFolder() . '/Expected';
60
+        return $this->getResponsesFolder().'/Expected';
61 61
     }
62 62
 
63 63
     /**
Please login to merge, or discard this patch.