Test Failed
Pull Request — master (#92)
by Adam
08:00 queued 05:06
created
src/Exception/ApiErrorException.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@  discard block
 block discarded – undo
10 10
 class ApiErrorException extends Exception
11 11
 {
12 12
 
13
-  /**
14
-   * @var object
15
-   */
13
+    /**
14
+     * @var object
15
+     */
16 16
     private $responseBody;
17 17
 
18 18
     /**
@@ -58,17 +58,17 @@  discard block
 block discarded – undo
58 58
         }
59 59
     }
60 60
 
61
-  /**
62
-   * @return object
63
-   */
61
+    /**
62
+     * @return object
63
+     */
64 64
     public function getResponseBody()
65 65
     {
66 66
         return $this->responseBody;
67 67
     }
68 68
 
69
-  /**
70
-   * @param object $response_body
71
-   */
69
+    /**
70
+     * @param object $response_body
71
+     */
72 72
     private function setResponseBody($response_body)
73 73
     {
74 74
         $this->responseBody = $response_body;
Please login to merge, or discard this patch.
tests/Endpoints/RolesTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         $response = $this->getPsr7JsonResponseForFixture('Endpoints/Roles/createRole.json');
61 61
         $client = $this->getMockClient($response);
62 62
 
63
-      /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
63
+        /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
64 64
         $roles = new Roles($client);
65 65
         $result = $roles->create(
66 66
             '8ff6c046-ec64-4ce4-bea6-27845ec18600',
Please login to merge, or discard this patch.
tests/Endpoints/ServersTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         $this->assertInstanceOf('\AcquiaCloudApi\Response\ServerResponse', $result);
57 57
 
58 58
         foreach ($this->properties as $property) {
59
-              $this->assertObjectHasAttribute($property, $result);
59
+                $this->assertObjectHasAttribute($property, $result);
60 60
         }
61 61
     }
62 62
 
Please login to merge, or discard this patch.
tests/Endpoints/AccountTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         $response = $this->getPsr7JsonResponseForFixture('Endpoints/Account/getAccount.json');
37 37
         $client = $this->getMockClient($response);
38 38
 
39
-      /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
39
+        /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
40 40
         $account = new Account($client);
41 41
         $result = $account->get();
42 42
 
Please login to merge, or discard this patch.
tests/Endpoints/InsightsTest.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
         $response = $this->getPsr7JsonResponseForFixture('Endpoints/Insights/getAllInsights.json');
58 58
         $client = $this->getMockClient($response);
59 59
 
60
-      /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
60
+        /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
61 61
         $insights = new Insights($client);
62 62
         $result = $insights->getAll('8ff6c046-ec64-4ce4-bea6-27845ec18600');
63 63
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         $response = $this->getPsr7JsonResponseForFixture('Endpoints/Insights/getEnvironment.json');
80 80
         $client = $this->getMockClient($response);
81 81
 
82
-      /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
82
+        /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
83 83
         $insights = new Insights($client);
84 84
         $result = $insights->getEnvironment('8ff6c046-ec64-4ce4-bea6-27845ec18600');
85 85
 
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         $response = $this->getPsr7JsonResponseForFixture('Endpoints/Insights/getAllAlerts.json');
117 117
         $client = $this->getMockClient($response);
118 118
 
119
-      /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
119
+        /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
120 120
         $insights = new Insights($client);
121 121
         $result = $insights->getAllAlerts('8ff6c046-ec64-4ce4-bea6-27845ec18600');
122 122
 
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
         $response = $this->getPsr7JsonResponseForFixture('Endpoints/Insights/getModules.json');
219 219
         $client = $this->getMockClient($response);
220 220
 
221
-      /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
221
+        /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
222 222
         $insights = new Insights($client);
223 223
         $result = $insights->getModules('8ff6c046-ec64-4ce4-bea6-27845ec18600');
224 224
 
Please login to merge, or discard this patch.
tests/Endpoints/CronsTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         $this->assertInstanceOf('\AcquiaCloudApi\Response\CronResponse', $result);
59 59
 
60 60
         foreach ($this->properties as $property) {
61
-              $this->assertObjectHasAttribute($property, $result);
61
+                $this->assertObjectHasAttribute($property, $result);
62 62
         }
63 63
     }
64 64
 
Please login to merge, or discard this patch.
tests/Endpoints/EnvironmentsTest.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,9 +74,9 @@
 block discarded – undo
74 74
         $environment = new Environments($client);
75 75
         $result = $environment->update('24-a47ac10b-58cc-4372-a567-0e02b2c3d470', ['version' => '7.2']);
76 76
 
77
-         $this->assertInstanceOf('\AcquiaCloudApi\Response\OperationResponse', $result);
77
+            $this->assertInstanceOf('\AcquiaCloudApi\Response\OperationResponse', $result);
78 78
 
79
-         $this->assertEquals('The environment configuration is being updated.', $result->message);
79
+            $this->assertEquals('The environment configuration is being updated.', $result->message);
80 80
     }
81 81
 
82 82
     public function testRenameEnvironment()
Please login to merge, or discard this patch.
tests/Endpoints/IdentityProviderTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
         $this->assertInstanceOf('\AcquiaCloudApi\Response\IdentityProviderResponse', $result);
54 54
 
55 55
         foreach ($this->properties as $property) {
56
-              $this->assertObjectHasAttribute($property, $result);
56
+                $this->assertObjectHasAttribute($property, $result);
57 57
         }
58 58
     }
59 59
 
Please login to merge, or discard this patch.
tests/Endpoints/IdesTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $this->assertInstanceOf('\AcquiaCloudApi\Response\IdeResponse', $result);
51 51
 
52 52
         foreach ($this->properties as $property) {
53
-              $this->assertObjectHasAttribute($property, $result);
53
+                $this->assertObjectHasAttribute($property, $result);
54 54
         }
55 55
     }
56 56
 
Please login to merge, or discard this patch.