Test Failed
Push — master ( a016ec...488e43 )
by Nikolay
06:35 queued 12s
created
Category
config/services.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 return [
6 6
     'cloud_payments' => [
Please login to merge, or discard this patch.
src/Client/Exception/InvalidHttpResponseCodeException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Korobovn\CloudPayments\Client\Exception;
6 6
 
Please login to merge, or discard this patch.
src/Message/Strategy/SuccessStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Korobovn\CloudPayments\Message\Strategy;
6 6
 
Please login to merge, or discard this patch.
src/Message/Strategy/AbstractStrategy.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Korobovn\CloudPayments\Message\Strategy;
6 6
 
@@ -28,28 +28,28 @@  discard block
 block discarded – undo
28 28
     public function prepareRawResponse(array $raw_response): ResponseInterface
29 29
     {
30 30
         foreach ($this->specifications as $specification_class => $response_class) {
31
-            if (! class_exists($specification_class)) {
31
+            if ( ! class_exists($specification_class)) {
32 32
                 throw new ClassNotFoundException(sprintf(
33 33
                     'The class %s is not found',
34 34
                     $specification_class
35 35
                 ));
36 36
             }
37 37
             $specification = new $specification_class;
38
-            if (! ($specification instanceof SpecificationInterface)) {
38
+            if ( ! ($specification instanceof SpecificationInterface)) {
39 39
                 throw new IsNotInstanceOfException(sprintf(
40 40
                     'The class %s is not an instance of %s',
41 41
                     $specification_class, SpecificationInterface::class
42 42
                 ));
43 43
             }
44 44
             if ($specification->isSatisfiedBy($raw_response)) {
45
-                if (! class_exists($response_class)) {
45
+                if ( ! class_exists($response_class)) {
46 46
                     throw new ClassNotFoundException(sprintf(
47 47
                         'The class %s is not found',
48 48
                         $response_class
49 49
                     ));
50 50
                 }
51 51
                 $response = new $response_class;
52
-                if (! ($response instanceof ResponseInterface)) {
52
+                if ( ! ($response instanceof ResponseInterface)) {
53 53
                     throw new IsNotInstanceOfException(sprintf(
54 54
                         'The class %s is not an instance of %s',
55 55
                         $response_class, ResponseInterface::class
Please login to merge, or discard this patch.
src/Message/Strategy/Specification/InvalidRequestSpecification.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Korobovn\CloudPayments\Message\Strategy\Specification;
6 6
 
Please login to merge, or discard this patch.
src/Message/Strategy/Specification/SubscriptionsInModelSpecification.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Korobovn\CloudPayments\Message\Strategy\Specification;
6 6
 
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      */
12 12
     public function isSatisfiedBy(array $response): bool
13 13
     {
14
-        if (! is_array($response['Model'])) {
14
+        if ( ! is_array($response['Model'])) {
15 15
             return false;
16 16
         }
17 17
 
Please login to merge, or discard this patch.
src/Message/Strategy/Exception/StrategyCannotCreateResponseException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Korobovn\CloudPayments\Message\Strategy\Exception;
6 6
 
Please login to merge, or discard this patch.
src/Message/Request/UpdateSubscriptionRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Korobovn\CloudPayments\Message\Request;
6 6
 
Please login to merge, or discard this patch.
src/Message/Request/Model/UpdateSubscriptionModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Korobovn\CloudPayments\Message\Request\Model;
6 6
 
Please login to merge, or discard this patch.