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 ( 1aaf9e...0980e3 )
by Cees-Jan
04:36
created
src/Type.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace ApiClients\Tools\ResourceTestUtilities;
4 4
 
Please login to merge, or discard this patch.
src/Types.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace ApiClients\Tools\ResourceTestUtilities;
4 4
 
@@ -27,17 +27,17 @@  discard block
 block discarded – undo
27 27
             return;
28 28
         }
29 29
 
30
-        $path = __DIR__ . DIRECTORY_SEPARATOR . 'Type' . DIRECTORY_SEPARATOR;
30
+        $path = __DIR__.DIRECTORY_SEPARATOR.'Type'.DIRECTORY_SEPARATOR;
31 31
         $directory = new RecursiveDirectoryIterator($path);
32 32
         $directory = new RecursiveIteratorIterator($directory);
33 33
         foreach ($directory as $node) {
34
-            $nodePath = $node->getPath() . DIRECTORY_SEPARATOR . $node->getFilename();
34
+            $nodePath = $node->getPath().DIRECTORY_SEPARATOR.$node->getFilename();
35 35
             if (!is_file($nodePath)) {
36 36
                 continue;
37 37
             }
38 38
 
39 39
             $fileName = str_replace('/', '\\', $nodePath);
40
-            $class = __NAMESPACE__ . '\\Type\\' . substr(substr($fileName, strlen($path)), 0, -4);
40
+            $class = __NAMESPACE__.'\\Type\\'.substr(substr($fileName, strlen($path)), 0, -4);
41 41
             if (class_exists($class) && (new ReflectionClass($class))->implementsInterface(Type::class)) {
42 42
                 $type = new $class;
43 43
                 self::$types[$type->scalar()] = $type;
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             return self::$types[$type];
73 73
         }
74 74
 
75
-        throw new Exception('Type "' . $type . '" not found, use has to check"');
75
+        throw new Exception('Type "'.$type.'" not found, use has to check"');
76 76
     }
77 77
 
78 78
     /**
Please login to merge, or discard this patch.
src/Type/AbstractType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace ApiClients\Tools\ResourceTestUtilities\Type;
4 4
 
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     final public function __construct()
11 11
     {
12 12
         if (!defined('static::SCALAR')) {
13
-            throw new \InvalidArgumentException('Missing SCALAR constant on ' . get_class($this));
13
+            throw new \InvalidArgumentException('Missing SCALAR constant on '.get_class($this));
14 14
         }
15 15
     }
16 16
 
Please login to merge, or discard this patch.
src/Type/DoubleType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace ApiClients\Tools\ResourceTestUtilities\Type;
4 4
 
Please login to merge, or discard this patch.
src/Type/BoolType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace ApiClients\Tools\ResourceTestUtilities\Type;
4 4
 
@@ -18,7 +18,7 @@  discard block
 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/IntType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace ApiClients\Tools\ResourceTestUtilities\Type;
4 4
 
Please login to merge, or discard this patch.
src/Type/FloatType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace ApiClients\Tools\ResourceTestUtilities\Type;
4 4
 
Please login to merge, or discard this patch.
src/AbstractResourceTest.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace ApiClients\Tools\ResourceTestUtilities;
5 5
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
             }
58 58
 
59 59
             $varTag = $varTag[0];
60
-            $scalar = (string)$varTag->getType();
60
+            $scalar = (string) $varTag->getType();
61 61
             if ($scalar === '') {
62 62
                 continue;
63 63
             }
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         $yield = [];
86 86
         $json = $jsonTemplate;
87 87
         foreach ($type->$typeMethod() as $typeClass) {
88
-            $methodType = Types::get(constant($typeClass . '::SCALAR'));
88
+            $methodType = Types::get(constant($typeClass.'::SCALAR'));
89 89
             foreach ($methodType->generate(3) as $value) {
90 90
                 $key = $property->getName();
91 91
 
@@ -98,10 +98,10 @@  discard block
 block discarded – undo
98 98
 
99 99
                 $yield[] = [
100 100
                     $property->getName(), // Name of the property to assign data to
101
-                    $method,              // Method to call verifying that data
102
-                    $type,                // The different types of data associated with this field
103
-                    $json,                // JSON to use during testing
104
-                    $value,               // Value to check against
101
+                    $method, // Method to call verifying that data
102
+                    $type, // The different types of data associated with this field
103
+                    $json, // JSON to use during testing
104
+                    $value, // Value to check against
105 105
                 ];
106 106
             }
107 107
         }
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
             $resource = $this->hydrate(
168 168
                 str_replace(
169 169
                     $this->getNamespace(),
170
-                    $this->getNamespace() . '\\Async',
170
+                    $this->getNamespace().'\\Async',
171 171
                     $class
172 172
                 ),
173 173
                 $json,
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
                 $resource = $this->hydrate(
192 192
                     str_replace(
193 193
                         $this->getNamespace(),
194
-                        $this->getNamespace() . '\\Async',
194
+                        $this->getNamespace().'\\Async',
195 195
                         $class
196 196
                     ),
197 197
                     $json,
Please login to merge, or discard this patch.
src/AbstractEmptyResourceTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace ApiClients\Tools\ResourceTestUtilities;
5 5
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
                 self::assertTrue(true);
43 43
                 continue;
44 44
             } catch (Throwable $t) {
45
-                self::fail('Should have thrown a TypeError instead of a ' . get_class($t));
45
+                self::fail('Should have thrown a TypeError instead of a '.get_class($t));
46 46
             }
47 47
         }
48 48
     }
Please login to merge, or discard this patch.