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.
Passed
Pull Request — master (#18)
by Cees-Jan
01:42
created
src/functions_include.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,6 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use function function_exists;
6 6
 
7
-if (! function_exists('WyriHaximus\validate_array')) {
8
-    require __DIR__ . '/functions.php';
7
+if (!function_exists('WyriHaximus\validate_array')) {
8
+    require __DIR__.'/functions.php';
9 9
 }
Please login to merge, or discard this patch.
src/functions.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,17 +27,17 @@
 block discarded – undo
27 27
         }
28 28
 
29 29
         /** @psalm-suppress PossiblyInvalidArrayOffset */
30
-        if ((! isset($data[$field]) && // This is faster,
30
+        if ((!isset($data[$field]) && // This is faster,
31 31
                 // but it will also return false on fields which
32 32
                 // value is null, so calling array_key_exists when that happens.
33
-                ! array_key_exists($field, $data)) ||
33
+                !array_key_exists($field, $data)) ||
34 34
             (
35
-                ! $isInt && (
35
+                !$isInt && (
36 36
                     (
37 37
                         is_string($type) && gettype($data[$field]) !== $type
38 38
                     ) ||
39 39
                     (
40
-                        is_array($type) && ! in_array(gettype($data[$field]), $type, true)
40
+                        is_array($type) && !in_array(gettype($data[$field]), $type, true)
41 41
                     )
42 42
                 )
43 43
             )
Please login to merge, or discard this patch.