GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 4fe8b7...b20bec )
by
unknown
30s
created
src/RabbitMQ.php 2 patches
Switch Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -21,17 +21,17 @@
 block discarded – undo
21 21
     private function coerce_to_bool(String $value, String $name)
22 22
     {
23 23
         switch (strtolower($value)) {
24
-        case "yes":
25
-        case "1":
26
-        case "true":
27
-            return true;
28
-        case "no":
29
-        case "0":
30
-        case "false":
31
-            return false;
32
-        default:
33
-            throw new \Exception("Cannot coerce value '{$value}' into a boolean for {$name}");
34
-            return false;
24
+            case "yes":
25
+            case "1":
26
+            case "true":
27
+                return true;
28
+            case "no":
29
+            case "0":
30
+            case "false":
31
+                return false;
32
+            default:
33
+                throw new \Exception("Cannot coerce value '{$value}' into a boolean for {$name}");
34
+                return false;
35 35
         }
36 36
     }
37 37
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     {
16 16
         $rmq_config = $rmq_config ?: [];
17 17
         $this->rmq_config['exchanges'] = isset($rmq_config['exchanges']) ? $rmq_config['exchanges'] : [];
18
-        $this->rmq_config['queues']    = isset($rmq_config['queues'])    ? $rmq_config['queues']    : [];
18
+        $this->rmq_config['queues']    = isset($rmq_config['queues']) ? $rmq_config['queues'] : [];
19 19
     }
20 20
 
21 21
     private function coerce_to_bool(String $value, String $name)
Please login to merge, or discard this patch.