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 ( 9b21b5...8baa25 )
by
unknown
09:27
created
src/AbstractEmptyResourceTest.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
                 self::assertTrue(true);
44 44
                 continue;
45 45
             } catch (Throwable $t) {
46
-                self::fail('Should have thrown a TypeError instead of a ' . get_class($t));
46
+                self::fail('Should have thrown a TypeError instead of a '.get_class($t));
47 47
             }
48 48
         }
49 49
     }
Please login to merge, or discard this patch.
src/AbstractResourceTest.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
             }
60 60
 
61 61
             $varTag = $varTag[0];
62
-            $scalar = (string)$varTag->getType();
62
+            $scalar = (string) $varTag->getType();
63 63
             if ($scalar === '') {
64 64
                 continue;
65 65
             }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             $resource = $this->hydrate(
90 90
                 str_replace(
91 91
                     $this->getNamespace(),
92
-                    $this->getNamespace() . '\\Async',
92
+                    $this->getNamespace().'\\Async',
93 93
                     $class
94 94
                 ),
95 95
                 $json,
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
                 $resource = $this->hydrate(
116 116
                     str_replace(
117 117
                         $this->getNamespace(),
118
-                        $this->getNamespace() . '\\Async',
118
+                        $this->getNamespace().'\\Async',
119 119
                         $class
120 120
                     ),
121 121
                     $json,
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         $yield = [];
156 156
         $json = $jsonTemplate;
157 157
         foreach ($type->$typeMethod() as $typeClass) {
158
-            $methodType = Types::get(constant($typeClass . '::SCALAR'));
158
+            $methodType = Types::get(constant($typeClass.'::SCALAR'));
159 159
             foreach ($methodType->generate(3) as $value) {
160 160
                 $key = $property->getName();
161 161
 
@@ -168,10 +168,10 @@  discard block
 block discarded – undo
168 168
 
169 169
                 $yield[] = [
170 170
                     $property->getName(), // Name of the property to assign data to
171
-                    $method,              // Method to call verifying that data
172
-                    $type,                // The different types of data associated with this field
173
-                    $json,                // JSON to use during testing
174
-                    $value,               // Value to check against
171
+                    $method, // Method to call verifying that data
172
+                    $type, // The different types of data associated with this field
173
+                    $json, // JSON to use during testing
174
+                    $value, // Value to check against
175 175
                 ];
176 176
             }
177 177
         }
Please login to merge, or discard this patch.
src/Types.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,17 +28,17 @@  discard block
 block discarded – undo
28 28
             return;
29 29
         }
30 30
 
31
-        $path = __DIR__ . DIRECTORY_SEPARATOR . 'Type' . DIRECTORY_SEPARATOR;
31
+        $path = __DIR__.DIRECTORY_SEPARATOR.'Type'.DIRECTORY_SEPARATOR;
32 32
         $directory = new RecursiveDirectoryIterator($path);
33 33
         $directory = new RecursiveIteratorIterator($directory);
34 34
         foreach ($directory as $node) {
35
-            $nodePath = $node->getPath() . DIRECTORY_SEPARATOR . $node->getFilename();
35
+            $nodePath = $node->getPath().DIRECTORY_SEPARATOR.$node->getFilename();
36 36
             if (!is_file($nodePath)) {
37 37
                 continue;
38 38
             }
39 39
 
40 40
             $fileName = str_replace('/', '\\', $nodePath);
41
-            $class = __NAMESPACE__ . '\\Type\\' . substr(substr($fileName, strlen($path)), 0, -4);
41
+            $class = __NAMESPACE__.'\\Type\\'.substr(substr($fileName, strlen($path)), 0, -4);
42 42
             if (class_exists($class) && (new ReflectionClass($class))->implementsInterface(Type::class)) {
43 43
                 $type = new $class();
44 44
                 self::$types[$type->scalar()] = $type;
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
             return self::$types[$type];
74 74
         }
75 75
 
76
-        throw new Exception('Type "' . $type . '" not found, use has to check"');
76
+        throw new Exception('Type "'.$type.'" not found, use has to check"');
77 77
     }
78 78
 
79 79
     /**
Please login to merge, or discard this patch.
src/Type/StringType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public function generate(int $count = 100): Generator
19 19
     {
20 20
         for ($i = 0; $i < $count; $i++) {
21
-            yield (string)mt_rand($i, $count * mt_rand($i, $count));
21
+            yield (string) mt_rand($i, $count * mt_rand($i, $count));
22 22
         }
23 23
     }
24 24
 
Please login to merge, or discard this patch.
src/Type/BoolType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     public function generate(int $count = 100): Generator
19 19
     {
20 20
         for ($i = 0; $i < $count; $i++) {
21
-            yield (bool)mt_rand(0, 1);
21
+            yield (bool) mt_rand(0, 1);
22 22
         }
23 23
     }
24 24
 
Please login to merge, or discard this patch.
src/Type/AbstractType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     final public function __construct()
10 10
     {
11 11
         if (!defined('static::SCALAR')) {
12
-            throw new \InvalidArgumentException('Missing SCALAR constant on ' . get_class($this));
12
+            throw new \InvalidArgumentException('Missing SCALAR constant on '.get_class($this));
13 13
         }
14 14
     }
15 15
 
Please login to merge, or discard this patch.