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
Branch cleanup-warning (a34f18)
by Šimon
11:06
created
Category
src/Type/Definition/CustomScalarType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
             'is also used as an input type, ensure "parseValue" and "parseLiteral" ' .
66 66
             'functions are also provided.'
67 67
         );
68
-        if (! isset($this->config['parseValue']) && ! isset($this->config['parseLiteral'])) {
68
+        if (!isset($this->config['parseValue']) && !isset($this->config['parseLiteral'])) {
69 69
             return;
70 70
         }
71 71
 
Please login to merge, or discard this patch.
src/Type/Definition/IDType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         if ($value === null) {
45 45
             return 'null';
46 46
         }
47
-        if (! is_scalar($value) && (! is_object($value) || ! method_exists($value, '__toString'))) {
47
+        if (!is_scalar($value) && (!is_object($value) || !method_exists($value, '__toString'))) {
48 48
             throw new Error('ID type cannot represent non scalar value: ' . Utils::printSafe($value));
49 49
         }
50 50
 
Please login to merge, or discard this patch.
src/Type/Definition/IntType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         }
58 58
 
59 59
         $num = floatval($value);
60
-        if ((! is_numeric($value) && ! is_bool($value)) || $num > self::MAX_INT || $num < self::MIN_INT) {
60
+        if ((!is_numeric($value) && !is_bool($value)) || $num > self::MAX_INT || $num < self::MIN_INT) {
61 61
             throw new Error(
62 62
                 'Int cannot represent non 32-bit signed integer value: ' .
63 63
                 Utils::printSafe($value)
Please login to merge, or discard this patch.
src/Type/Definition/NonNull.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
     public static function assertNullableType($type)
32 32
     {
33 33
         Utils::invariant(
34
-            Type::isType($type) && ! $type instanceof self,
34
+            Type::isType($type) && !$type instanceof self,
35 35
             'Expected ' . Utils::printSafe($type) . ' to be a GraphQL nullable type.'
36 36
         );
37 37
 
Please login to merge, or discard this patch.
src/Type/Definition/InterfaceType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function __construct(array $config)
34 34
     {
35
-        if (! isset($config['name'])) {
35
+        if (!isset($config['name'])) {
36 36
             $config['name'] = $this->tryInferName();
37 37
         }
38 38
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
         $resolveType = $this->config['resolveType'] ?? null;
115 115
 
116 116
         Utils::invariant(
117
-            ! isset($resolveType) || is_callable($resolveType),
117
+            !isset($resolveType) || is_callable($resolveType),
118 118
             sprintf(
119 119
                 '%s must provide "resolveType" as a function, but got: %s',
120 120
                 $this->name,
Please login to merge, or discard this patch.
src/Type/Definition/FieldArgument.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     {
75 75
         $map = [];
76 76
         foreach ($config as $name => $argConfig) {
77
-            if (! is_array($argConfig)) {
77
+            if (!is_array($argConfig)) {
78 78
                 $argConfig = ['type' => $argConfig];
79 79
             }
80 80
             $map[] = new self($argConfig + ['name' => $name]);
Please login to merge, or discard this patch.
src/Type/Definition/StringType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
         if (is_object($value) && method_exists($value, '__toString')) {
47 47
             return (string) $value;
48 48
         }
49
-        if (! is_scalar($value)) {
49
+        if (!is_scalar($value)) {
50 50
             throw new Error('String cannot represent non scalar value: ' . Utils::printSafe($value));
51 51
         }
52 52
 
Please login to merge, or discard this patch.
src/Type/Definition/FloatType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             );
44 44
         }
45 45
 
46
-        if (! is_numeric($value) && $value !== true && $value !== false) {
46
+        if (!is_numeric($value) && $value !== true && $value !== false) {
47 47
             throw new Error(
48 48
                 'Float cannot represent non numeric value: ' .
49 49
                 Utils::printSafe($value)
Please login to merge, or discard this patch.
src/Type/SchemaConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     {
64 64
         $config = new static();
65 65
 
66
-        if (! empty($options)) {
66
+        if (!empty($options)) {
67 67
             if (isset($options['query'])) {
68 68
                 $config->setQuery($options['query']);
69 69
             }
Please login to merge, or discard this patch.