Completed
Branch master (a44c39)
by Tristan
05:54
created
spec/Service/LocationServiceSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\Yproximite\Api\Service;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-
7 6
 use Yproximite\Api\Client\Client;
8 7
 use Yproximite\Api\Factory\ModelFactory;
9 8
 use Yproximite\Api\Model\Location\Location;
Please login to merge, or discard this patch.
spec/Service/SiteServiceSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\Yproximite\Api\Service;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-
7 6
 use Yproximite\Api\Client\Client;
8 7
 use Yproximite\Api\Message\Site\PlatformChildrenListMessage;
9 8
 use Yproximite\Api\Model\Site\Site;
Please login to merge, or discard this patch.
spec/Service/UserServiceSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\Yproximite\Api\Service;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-
7 6
 use Yproximite\Api\Client\Client;
8 7
 use Yproximite\Api\Factory\ModelFactory;
9 8
 use Yproximite\Api\Model\User\User;
Please login to merge, or discard this patch.
src/Util/Helper.php 1 patch
Spacing   +3 added lines, -3 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\Util;
5 5
 
@@ -20,14 +20,14 @@  discard block
 block discarded – undo
20 20
      */
21 21
     public static function buildMessages(array $messages, string $keyBy = null): array
22 22
     {
23
-        $values = array_map(function (MessageInterface $message) {
23
+        $values = array_map(function(MessageInterface $message) {
24 24
             return $message->build();
25 25
         }, $messages);
26 26
 
27 27
         if (!is_null($keyBy)) {
28 28
             $accessor = PropertyAccess::createPropertyAccessor();
29 29
 
30
-            $keys = array_map(function (MessageInterface $message) use ($accessor, $keyBy) {
30
+            $keys = array_map(function(MessageInterface $message) use ($accessor, $keyBy) {
31 31
                 return $accessor->getValue($message, $keyBy);
32 32
             }, $messages);
33 33
 
Please login to merge, or discard this patch.
src/Exception/ExceptionInterface.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\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Exception/AuthenficationException.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\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Exception/InvalidResponseException.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\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Exception/LogicException.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\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Exception/TransferException.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\Exception;
5 5
 
Please login to merge, or discard this patch.