Test Failed
Pull Request — master (#92)
by Adam
06:34
created
tests/Endpoints/MetricsTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         $response = $this->getPsr7JsonResponseForFixture('Endpoints/Metrics/getAggregateData.json');
22 22
         $client = $this->getMockClient($response);
23 23
 
24
-      /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
24
+        /** @var \AcquiaCloudApi\CloudApi\ClientInterface $client */
25 25
         $account = new Metrics($client);
26 26
         $result = $account->getAggregateData('8ff6c046-ec64-4ce4-bea6-27845ec18600');
27 27
 
Please login to merge, or discard this patch.
src/Connector/Connector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     {
68 68
         if (!isset($this->accessToken) || $this->accessToken->hasExpired()) {
69 69
             $cache = new FilesystemAdapter('acquia-php-sdk-v2');
70
-            $accessToken = $cache->get('cloudapi-token', function (ItemInterface $item) {
70
+            $accessToken = $cache->get('cloudapi-token', function(ItemInterface $item) {
71 71
                 $item->expiresAfter(300);
72 72
                 return $this->provider->getAccessToken('client_credentials');
73 73
             });
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
         return $this->provider->getAuthenticatedRequest(
79 79
             $verb,
80
-            self::BASE_URI . $path,
80
+            self::BASE_URI.$path,
81 81
             $this->accessToken
82 82
         );
83 83
     }
Please login to merge, or discard this patch.