Completed
Push — master ( 4f4b30...79d213 )
by Kamil
49:20 queued 33s
created
src/Sylius/Behat/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/Page/Checkout/CheckoutThankYouPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function waitForResponse($timeout)
46 46
     {
47
-        $this->getDocument()->waitFor($timeout, function () {
47
+        $this->getDocument()->waitFor($timeout, function() {
48 48
             return $this->isOpen();
49 49
         });
50 50
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/External/PaypalExpressCheckoutPage.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public function logIn($email, $password)
30 30
     {
31
-        $hasLoginButton = $this->getDocument()->waitFor(15, function () {
31
+        $hasLoginButton = $this->getDocument()->waitFor(15, function() {
32 32
             return $this->getDocument()->hasButton('login_button');
33 33
         });
34 34
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
             $this->getDocument()->pressButton('login_button');
37 37
         }
38 38
 
39
-        $this->getDocument()->waitFor(15, function () {
39
+        $this->getDocument()->waitFor(15, function() {
40 40
             return $this->getDocument()->hasField('login_email');
41 41
         });
42 42
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function pay()
52 52
     {
53
-        $this->getDocument()->waitFor(15, function () {
53
+        $this->getDocument()->waitFor(15, function() {
54 54
             return $this->getDocument()->hasButton('continue');
55 55
         });
56 56
         $this->getDocument()->pressButton('continue');
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public function cancel()
63 63
     {
64
-        $this->getDocument()->waitFor(15, function () {
64
+        $this->getDocument()->waitFor(15, function() {
65 65
             return $this->getDocument()->hasButton('cancel_return');
66 66
         });
67 67
         $this->getDocument()->pressButton('cancel_return');
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/test/src/Tests/Controller/BookApiTest.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
         $objects = $this->loadFixturesFromFile('books.yml');
66 66
 
67 67
         $data =
68
- <<<EOT
68
+    <<<EOT
69 69
         {
70 70
             "title": "Star Wars: Dark Disciple"
71 71
         }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
         }
53 53
 EOT;
54 54
 
55
-        $this->client->request('PUT', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
55
+        $this->client->request('PUT', '/books/'.$objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
56 56
         $response = $this->client->getResponse();
57 57
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
58 58
     }
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         }
72 72
 EOT;
73 73
 
74
-        $this->client->request('PATCH', '/books/'. $objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
74
+        $this->client->request('PATCH', '/books/'.$objects["book1"]->getId(), [], [], ['CONTENT_TYPE' => 'application/json'], $data);
75 75
         $response = $this->client->getResponse();
76 76
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
77 77
     }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     {
84 84
         $objects = $this->loadFixturesFromFile('books.yml');
85 85
 
86
-        $this->client->request('DELETE', '/books/'. $objects["book1"]->getId());
86
+        $this->client->request('DELETE', '/books/'.$objects["book1"]->getId());
87 87
         $response = $this->client->getResponse();
88 88
         $this->assertResponseCode($response, Response::HTTP_NO_CONTENT);
89 89
     }
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     {
96 96
         $objects = $this->loadFixturesFromFile('books.yml');
97 97
 
98
-        $this->client->request('GET', '/books/'. $objects["book1"]->getId());
98
+        $this->client->request('GET', '/books/'.$objects["book1"]->getId());
99 99
         $response = $this->client->getResponse();
100 100
         $this->assertResponse($response, 'books/show_response');
101 101
     }
Please login to merge, or discard this patch.
test/src/Tests/DependencyInjection/RegisterResourcesPassTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -104,10 +104,10 @@
 block discarded – undo
104 104
     }
105 105
 
106 106
     /**
107
-    * @param string $serviceId
108
-    * @param string $method
109
-    * @param array $arguments
110
-    */
107
+     * @param string $serviceId
108
+     * @param string $method
109
+     * @param array $arguments
110
+     */
111 111
     private function assertContainerBuilderDoesNotHaveServiceDefinitionWithMethodCall($serviceId, $method, $arguments)
112 112
     {
113 113
         $definition = $this->container->findDefinition($serviceId);
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/SymfonyPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
      */
72 72
     protected function waitForModalToAppear(NodeElement $modalContainer)
73 73
     {
74
-        $this->getDocument()->waitFor(1, function () use ($modalContainer) {
74
+        $this->getDocument()->waitFor(1, function() use ($modalContainer) {
75 75
             return false !== strpos($modalContainer->getAttribute('class'), 'in');
76 76
         });
77 77
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/spec/Context/Setup/PaymentContextSpec.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
         $this->getPaymentMethodByName('Offline')->shouldReturn($paymentMethod);
54 54
     }
55 55
 
56
-    function it_throws_element_not_found_exception_if_payment_method_has_not_been_found (
56
+    function it_throws_element_not_found_exception_if_payment_method_has_not_been_found(
57 57
         RepositoryInterface $paymentMethodRepository
58 58
     ) {
59 59
         $paymentMethodRepository->findOneBy(['name' => 'Free'])->willReturn(null);
Please login to merge, or discard this patch.