Completed
Push — master ( aaa777...736635 )
by Ghazi
26s queued 20s
created
src/Parameters/MetaParameters.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@
 block discarded – undo
58 58
         if (0 !== count($this->meta)) {
59 59
             foreach ($this->meta as $key => $value) {
60 60
                 if (!is_bool($value)) {
61
-                    $queries['meta_' . $key] = $value;
61
+                    $queries['meta_'.$key] = $value;
62 62
                 } else {
63
-                    $queries['meta_' . $key] = $value ? 'true' : 'false';
63
+                    $queries['meta_'.$key] = $value ? 'true' : 'false';
64 64
                 }
65 65
             }
66 66
         }
Please login to merge, or discard this patch.
src/Parameters/DocumentableTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
         }
76 76
 
77 77
         if (!is_string($result)) {
78
-            throw new \RuntimeException('String expected, but ' . gettype($result) . ' received.');
78
+            throw new \RuntimeException('String expected, but '.gettype($result).' received.');
79 79
         }
80 80
 
81 81
         return $result;
Please login to merge, or discard this patch.
src/Parameters/UserDataParameters.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,9 +55,9 @@
 block discarded – undo
55 55
         if (0 !== count($this->userData)) {
56 56
             foreach ($this->userData as $key => $value) {
57 57
                 if (!is_bool($value)) {
58
-                    $queries['userdata-' . $key] = $value;
58
+                    $queries['userdata-'.$key] = $value;
59 59
                 } else {
60
-                    $queries['userdata-' . $key] = $value ? 'true' : 'false';
60
+                    $queries['userdata-'.$key] = $value ? 'true' : 'false';
61 61
                 }
62 62
             }
63 63
         }
Please login to merge, or discard this patch.
src/Util/UrlBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function buildUrl(string $method = '', string $params = '', bool $append = true): string
53 53
     {
54
-        return $this->bbbServerBaseUrl . 'api/' . $method . ($append ? '?' . $this->buildQs($method, $params) : '');
54
+        return $this->bbbServerBaseUrl.'api/'.$method.($append ? '?'.$this->buildQs($method, $params) : '');
55 55
     }
56 56
 
57 57
     /**
@@ -59,6 +59,6 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function buildQs(string $method = '', string $params = ''): string
61 61
     {
62
-        return $params . '&checksum=' . hash($this->hashingAlgorithm, $method . $params . $this->securitySalt);
62
+        return $params.'&checksum='.hash($this->hashingAlgorithm, $method.$params.$this->securitySalt);
63 63
     }
64 64
 }
Please login to merge, or discard this patch.
src/BigBlueButton.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
         $cookieFile = tmpfile();
417 417
 
418 418
         if (!$ch) {  // @phpstan-ignore-line
419
-            throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch));
419
+            throw new \RuntimeException('Unhandled curl error: '.curl_error($ch));
420 420
         }
421 421
 
422 422
         // JSESSIONID
@@ -442,8 +442,8 @@  discard block
 block discarded – undo
442 442
             curl_setopt($ch, CURLOPT_POST, 1);
443 443
             curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
444 444
             curl_setopt($ch, CURLOPT_HTTPHEADER, [
445
-                'Content-type: ' . $contentType,
446
-                'Content-length: ' . mb_strlen($payload),
445
+                'Content-type: '.$contentType,
446
+                'Content-length: '.mb_strlen($payload),
447 447
             ]);
448 448
         }
449 449
 
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
 
465 465
         // ANALYSE
466 466
         if (false === $data) {
467
-            throw new \RuntimeException('Unhandled curl error: ' . curl_error($ch));
467
+            throw new \RuntimeException('Unhandled curl error: '.curl_error($ch));
468 468
         }
469 469
 
470 470
         if (is_bool($data)) {
@@ -472,7 +472,7 @@  discard block
 block discarded – undo
472 472
         }
473 473
 
474 474
         if ($httpCode < 200 || $httpCode >= 300) {
475
-            throw new BadResponseException('Bad response, HTTP code: ' . $httpCode);
475
+            throw new BadResponseException('Bad response, HTTP code: '.$httpCode);
476 476
         }
477 477
 
478 478
         // CLOSE AND UNSET
Please login to merge, or discard this patch.