Completed
Push — master ( fb429b...be5157 )
by Nikita
03:01
created
src/Message/LocaleAwareMessageTrait.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/CallTracking/CallTrackingPostMessage.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\CallTracking;
5 5
 
Please login to merge, or discard this patch.
src/Message/Location/AbstractLocationMessage.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\Location;
5 5
 
Please login to merge, or discard this patch.
src/Message/Article/ArticleListMessage.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\Article;
5 5
 
Please login to merge, or discard this patch.
src/Message/Article/ArticlePatchMessage.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\Message\Article;
5 5
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         $message->setMediaLimit($article->getMediaLimit());
28 28
         $message->setShareOnFacebook($article->isShareOnFacebook());
29 29
 
30
-        $categoryIds = array_map(function (Category $category) {
30
+        $categoryIds = array_map(function(Category $category) {
31 31
             return $category->getId();
32 32
         }, $article->getCategories());
33 33
 
Please login to merge, or discard this patch.
src/Message/Field/FieldPostMessage.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/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/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.