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 ( c98288...3d0314 )
by Nur
01:59
created
src/Traits/Collectors/FilePathCollectorTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     public function removeFilePath($filePath)
51 51
     {
52 52
         if (false !== ($key = array_search($filePath, $this->filePaths))) {
53
-            unset($this->filePaths[ $key ]);
53
+            unset($this->filePaths[$key]);
54 54
         }
55 55
 
56 56
         return $this;
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 
104 104
         if (is_dir($filePath) AND ! in_array($filePath, $this->filePaths)) {
105 105
             if (isset($offset)) {
106
-                $this->filePaths[ $offset ] = $filePath;
106
+                $this->filePaths[$offset] = $filePath;
107 107
             } else {
108 108
                 $this->filePaths[] = $filePath;
109 109
             }
Please login to merge, or discard this patch.
src/Traits/Collectors/ErrorCollectorTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,6 +98,6 @@
 block discarded – undo
98 98
      */
99 99
     protected function addError($code, $message)
100 100
     {
101
-        $this->errors[ $code ] = $message;
101
+        $this->errors[$code] = $message;
102 102
     }
103 103
 }
104 104
\ No newline at end of file
Please login to merge, or discard this patch.
src/Datastructures/SplArrayStack.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
         $arrayCopy = [];
106 106
 
107 107
         foreach ($this as $key => $value) {
108
-            $arrayCopy[ $key ] = $value;
108
+            $arrayCopy[$key] = $value;
109 109
         }
110 110
 
111 111
         return $arrayCopy;
Please login to merge, or discard this patch.