Completed
Branch master (a44c39)
by Tristan
05:54
created
src/Message/Field/FieldPatchMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Message\Field;
5 5
 
Please login to merge, or discard this patch.
src/Message/Field/AbstractFieldMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Message\Field;
5 5
 
Please login to merge, or discard this patch.
src/Message/Field/FieldOverrideMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Message\Field;
5 5
 
Please login to merge, or discard this patch.
src/Message/SiteAwareMessageTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Message;
5 5
 
Please login to merge, or discard this patch.
src/Message/Site/PlatformChildrenListMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Message\Site;
5 5
 
Please login to merge, or discard this patch.
src/Message/Site/SitePostMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Message\Site;
5 5
 
Please login to merge, or discard this patch.
src/Factory/ModelFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Yproximite\Api\Factory;
5 5
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function createMany(string $class, array $list): array
31 31
     {
32
-        return array_map(function (array $data) use ($class) {
32
+        return array_map(function(array $data) use ($class) {
33 33
             return self::create($class, $data);
34 34
         }, $list);
35 35
     }
Please login to merge, or discard this patch.
spec/Client/ClientSpec.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -167,8 +167,8 @@  discard block
 block discarded – undo
167 167
 
168 168
         $secondRequestCounter = 0;
169 169
 
170
-        $httpClient->sendRequest($secondRequest)->will(function ($args) use ($secondRequestCounter, $secondResponse) {
171
-            $secondRequestCounter ++;
170
+        $httpClient->sendRequest($secondRequest)->will(function($args) use ($secondRequestCounter, $secondResponse) {
171
+            $secondRequestCounter++;
172 172
 
173 173
             if ($secondRequestCounter === 1) {
174 174
                 $errorResponse = MessageFactoryDiscovery::find()->createResponse(401);
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
         $response->getBody()->willReturn($stream);
203 203
         $stream->__toString()->willReturn($rawResponse);
204 204
 
205
-        $httpClient->sendRequest($request)->will(function ($args) {
205
+        $httpClient->sendRequest($request)->will(function($args) {
206 206
             $errorResponse = MessageFactoryDiscovery::find()->createResponse(401);
207 207
 
208 208
             throw HttpException::create($args[0], $errorResponse);
Please login to merge, or discard this patch.