Completed
Push — master ( b51802...8341a3 )
by John
01:49
created
tests/unit/EventListener/Request/RequestProcessorTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
             ->expects($this->once())
172 172
             ->method('assemble')
173 173
             ->willReturnCallback(
174
-                function (
174
+                function(
175 175
                     Operation $operation,
176 176
                     array $query,
177 177
                     array $attributes,
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
             ->expects($this->once())
215 215
             ->method('assemble')
216 216
             ->willReturnCallback(
217
-                function (
217
+                function(
218 218
                     Operation $operation,
219 219
                     array $query,
220 220
                     array $attributes,
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
             ->method('hydrate')
233 233
             ->with($body, $this->isInstanceOf(Schema::class))
234 234
             ->willReturnCallback(
235
-                function () use ($dto) {
235
+                function() use ($dto) {
236 236
                     return $dto;
237 237
                 }
238 238
             );
Please login to merge, or discard this patch.
tests/unit/EventListener/Response/ResponseFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
Please login to merge, or discard this patch.
tests/unit/EventListener/Response/Error/HttpErrorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
Please login to merge, or discard this patch.
Response/ErrorResponseFactory/SimpleErrorResponseFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
Please login to merge, or discard this patch.
tests/functional/HydratorPetStoreApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
Please login to merge, or discard this patch.
tests/functional/GenericDataApiTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function canFindByCriteria()
71 71
     {
72
-        $criteria     = [
72
+        $criteria = [
73 73
             (object)[
74 74
                 'fieldName' => 'x',
75 75
                 'operator'  => 'eq',
Please login to merge, or discard this patch.
tests/functional/BasicSecuredApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
Please login to merge, or discard this patch.
tests/functional/RbacApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
Please login to merge, or discard this patch.
tests/functional/BasicPetStoreApiTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     {
58 58
         $id = rand();
59 59
 
60
-        $responseData = $this->get('/v2/pet/' . $id);
60
+        $responseData = $this->get('/v2/pet/'.$id);
61 61
 
62 62
         $this->assertSame($id, $responseData->id);
63 63
     }
Please login to merge, or discard this patch.