Passed
Pull Request — master (#453)
by Dane
01:52
created
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/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
     /**
187 187
      * @inheritdoc
188 188
      */
189
-    public function addQuery(string $name, int|string $value): void
189
+    public function addQuery(string $name, int | string $value): void
190 190
     {
191 191
         $this->query = array_merge_recursive($this->query, [$name => $value]);
192 192
     }
Please login to merge, or discard this patch.
src/Exception/ApiErrorException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function __toString(): string
32 32
     {
33
-        return __CLASS__ . ": [{$this->errorType}]: {$this->message}\n";
33
+        return __CLASS__.": [{$this->errorType}]: {$this->message}\n";
34 34
     }
35 35
 
36 36
     /**
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         if (is_array($response_body->message) || is_object($response_body->message)) {
43 43
             $output = '';
44 44
             foreach ($response_body->message as $message) {
45
-                $output .= $message . PHP_EOL;
45
+                $output .= $message.PHP_EOL;
46 46
             }
47 47
             $this->message = $output;
48 48
         } else {
Please login to merge, or discard this patch.
src/Endpoints/Code.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     /**
32 32
      * Deploys a code branch/tag to an environment.
33 33
      */
34
-    public function switch(string $environmentUuid, string $branch): OperationResponse
34
+    public function switch (string $environmentUuid, string $branch): OperationResponse
35 35
     {
36 36
 
37 37
         $options = [
Please login to merge, or discard this patch.
src/Response/TagsResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         parent::__construct(
16 16
             array_map(
17
-                static function ($tag) {
17
+                static function($tag) {
18 18
                     return new TagResponse($tag);
19 19
                 },
20 20
                 $tags
Please login to merge, or discard this patch.
src/Response/InsightModulesResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         parent::__construct(
16 16
             array_map(
17
-                static function ($module) {
17
+                static function($module) {
18 18
                     return new InsightModuleResponse($module);
19 19
                 },
20 20
                 $modules
Please login to merge, or discard this patch.
src/Response/DatabaseNamesResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         parent::__construct(
16 16
             array_map(
17
-                static function ($database) {
17
+                static function($database) {
18 18
                     return new DatabaseNameResponse($database);
19 19
                 },
20 20
                 $databases
Please login to merge, or discard this patch.