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
16:09
created
src/functions.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -25,18 +25,18 @@
 block discarded – undo
25 25
             assert(is_string($field));
26 26
         }
27 27
 
28
-        if ((! isset($data[$field]) && // This is faster,
28
+        if ((!isset($data[$field]) && // This is faster,
29 29
                 // but it will also return false on fields which
30 30
                 // value is null, so calling array_key_exists when that happens.
31
-                ! array_key_exists($field, $data)) ||
31
+                !array_key_exists($field, $data)) ||
32 32
             (
33
-                ! $isInt && (
33
+                !$isInt && (
34 34
                     (
35 35
                         gettype($type) === 'string' && gettype($data[$field]) !== $type
36 36
                     ) ||
37 37
                     (
38 38
                         /** @phpstan-ignore-next-line */
39
-                        gettype($type) === 'array' && ! in_array(gettype($data[$field]), $type, true)
39
+                        gettype($type) === 'array' && !in_array(gettype($data[$field]), $type, true)
40 40
                     )
41 41
                 )
42 42
             )
Please login to merge, or discard this patch.
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.