Passed
Pull Request — master (#347)
by Dane
02:12
created
src/Response/OrganizationsResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         parent::__construct(
21 21
             array_map(
22
-                function ($organization) {
22
+                function($organization) {
23 23
                     return new OrganizationResponse($organization);
24 24
                 },
25 25
                 $organizations
Please login to merge, or discard this patch.
src/Response/CronsResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         parent::__construct(
21 21
             array_map(
22
-                function ($cron) {
22
+                function($cron) {
23 23
                     return new CronResponse($cron);
24 24
                 },
25 25
                 $crons
Please login to merge, or discard this patch.
src/Response/ServersResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         parent::__construct(
21 21
             array_map(
22
-                function ($server) {
22
+                function($server) {
23 23
                     return new ServerResponse($server);
24 24
                 },
25 25
                 $servers
Please login to merge, or discard this patch.
src/Response/SshKeysResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         parent::__construct(
18 18
             array_map(
19
-                function ($sshkey) {
19
+                function($sshkey) {
20 20
                     return new SshKeyResponse($sshkey);
21 21
                 },
22 22
                 $sshkeys
Please login to merge, or discard this patch.
src/Response/SubscriptionsResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         parent::__construct(
18 18
             array_map(
19
-                function ($subscription) {
19
+                function($subscription) {
20 20
                     return new SubscriptionResponse($subscription);
21 21
                 },
22 22
                 $subscriptions
Please login to merge, or discard this patch.
src/Response/BranchesResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         parent::__construct(
18 18
             array_map(
19
-                static function ($branch) {
19
+                static function($branch) {
20 20
                     return new BranchResponse($branch);
21 21
                 },
22 22
                 $branches
Please login to merge, or discard this patch.
src/Response/ApplicationsResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         parent::__construct(
18 18
             array_map(
19
-                static function ($application) {
19
+                static function($application) {
20 20
                     return new ApplicationResponse($application);
21 21
                 },
22 22
                 $applications
Please login to merge, or discard this patch.
src/Response/BackupsResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     {
17 17
         parent::__construct(
18 18
             array_map(
19
-                static function ($backup) {
19
+                static function($backup) {
20 20
                     return new BackupResponse($backup);
21 21
                 },
22 22
                 $backups
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
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
             $directory = Path::join(Path::getHomeDirectory(), '.acquia-php-sdk-v2');
98 98
             /** @infection-ignore-all */
99 99
             $cache = new FilesystemAdapter('cache', 300, $directory);
100
-            $accessToken = $cache->get('cloudapi-token', function () {
100
+            $accessToken = $cache->get('cloudapi-token', function() {
101 101
                 return $this->provider->getAccessToken('client_credentials');
102 102
             });
103 103
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
         return $this->provider->getAuthenticatedRequest(
108 108
             $verb,
109
-            $this->getBaseUri() . $path,
109
+            $this->getBaseUri().$path,
110 110
             $this->accessToken
111 111
         );
112 112
     }
Please login to merge, or discard this patch.