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 ( bcd62e...b3fd6e )
by Christian
41:18
created
src/classes/SelimConfig.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
      * @param string $name
126 126
      * @param string $path
127 127
      *
128
-     * @return boolean
128
+     * @return boolean|null
129 129
      */
130 130
     public function addSite($name, $path)
131 131
     {
Please login to merge, or discard this patch.
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,9 +40,9 @@  discard block
 block discarded – undo
40 40
         $selim_foldername = "/.selim/";
41 41
         if($server->get("HOME")){
42 42
             $conf_dir = $server->get("HOME").$selim_foldername;
43
-        }else if($server->get("HOMEDRIVE")){
43
+        } else if($server->get("HOMEDRIVE")){
44 44
             $conf_dir = "{$server->get("HOMEDRIVE")}{$server->get("HOMEPATH")}{$selim_foldername}";
45
-        }else{
45
+        } else{
46 46
             Util::reportError("Can't find Homedir. Aborting...");
47 47
             return;
48 48
         }
@@ -152,13 +152,13 @@  discard block
 block discarded – undo
152 152
                 $line = fgets(STDIN);
153 153
                 if(preg_match("/^y|yes/", $line)) {
154 154
                     file_put_contents($config_path, '{"sites":{}}');
155
-                }else{
155
+                } else{
156 156
                     Util::reportError("Aborting...");
157 157
                 }
158 158
             }
159 159
             $this->path_config = $config_path;
160 160
             $this->load();
161
-        }else{
161
+        } else{
162 162
             Util::reportError("The directory \"$dir\" doesnt exist.");
163 163
         }
164 164
     }
Please login to merge, or discard this patch.
src/classes/SilverstripePage.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      *
40 40
      * @param string $path
41 41
      *
42
-     * @return boolean
42
+     * @return boolean|null
43 43
      */
44 44
     public function setupPaths($path)
45 45
     {
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
                     echo $e->getMessage().PHP_EOL;
128 128
                 }
129 129
             }
130
-        }else{
130
+        } else{
131 131
             $this->envtype = "live";
132 132
         }
133 133
     }
Please login to merge, or discard this patch.
src/classes/Commands/SecurityCommand.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
                 foreach ($issues as $iss) {
39 39
                     echo $iss;
40 40
                 }
41
-            }else{
41
+            } else{
42 42
                 echo "No security issues found.";
43 43
             }
44 44
         } else {
Please login to merge, or discard this patch.
src/classes/Commands/FindSitesCommand.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,9 @@
 block discarded – undo
56 56
             $sites_added = false;
57 57
             $output->writeln("found ".count($projects)." possible sites");
58 58
             foreach($projects as $p){
59
-                if($skippaths && $cfg->sitePathExists($p)) continue;
59
+                if($skippaths && $cfg->sitePathExists($p)) {
60
+                    continue;
61
+                }
60 62
 
61 63
                 $question = new Question("Please enter name for '$p' (leave empty to skip)");
62 64
                 do {
Please login to merge, or discard this patch.
src/classes/Util.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
     public static function reportError($string,$die = true) {
180 180
         if($die) {
181 181
             exit($string);
182
-        }else{
182
+        } else{
183 183
             echo($string);
184 184
         }
185 185
     }
Please login to merge, or discard this patch.