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
Push — master ( a23855...2dc6fb )
by Cees-Jan
03:15 queued 14s
created
src/TestCase.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
             'w-h-p-t-u-' .
51 51
             uniqid() .
52 52
             DIRECTORY_SEPARATOR;
53
-        $this->tmpDir     = $this->baseTmpDir .
53
+        $this->tmpDir = $this->baseTmpDir .
54 54
             uniqid() .
55 55
             DIRECTORY_SEPARATOR;
56 56
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
     protected function tearDown(): void
61 61
     {
62
-        if (! file_exists($this->baseTmpDir)) {
62
+        if (!file_exists($this->baseTmpDir)) {
63 63
             return;
64 64
         }
65 65
 
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $directory = new FilesystemIterator($dir);
88 88
 
89 89
         foreach ($directory as $node) {
90
-            if (! $node instanceof SplFileInfo) {
90
+            if (!$node instanceof SplFileInfo) {
91 91
                 continue;
92 92
             }
93 93
 
@@ -96,23 +96,23 @@  discard block
 block discarded – undo
96 96
                 continue;
97 97
             }
98 98
 
99
-            if (! is_file($node->getPathname())) {
99
+            if (!is_file($node->getPathname())) {
100 100
                 continue;
101 101
             }
102 102
 
103
-            if (! unlink($node->getPathname())) {
103
+            if (!unlink($node->getPathname())) {
104 104
                 throw ErrorExceptionFactory::create('Error deleting file: ' . $node->getPathname());
105 105
             }
106 106
         }
107 107
 
108
-        if (! @rmdir($dir)) {
108
+        if (!@rmdir($dir)) {
109 109
             throw ErrorExceptionFactory::create('Error deleting directory: ' . $dir);
110 110
         }
111 111
     }
112 112
 
113 113
     final protected function getTmpDir(): string
114 114
     {
115
-        if (! file_exists($this->tmpDir) && ! @mkdir($this->tmpDir, self::DEFAULT_MODE, true)) {
115
+        if (!file_exists($this->tmpDir) && !@mkdir($this->tmpDir, self::DEFAULT_MODE, true)) {
116 116
             throw ErrorExceptionFactory::create('Error creating directory: ' . $this->tmpDir);
117 117
         }
118 118
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         $directory = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($path));
134 134
 
135 135
         foreach ($directory as $node) {
136
-            if (! is_file($node->getPathname())) {
136
+            if (!is_file($node->getPathname())) {
137 137
                 continue;
138 138
             }
139 139
 
Please login to merge, or discard this patch.