Completed
Push — master ( 11e20f...327a47 )
by Jack
01:57
created
code/model/GitHubModule.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -175,6 +175,9 @@
 block discarded – undo
175 175
         return 'https://github.com/'.$username.'/'.$this->ModuleName;
176 176
     }
177 177
 
178
+    /**
179
+     * @param string|null $directory
180
+     */
178 181
     protected function IsDirGitRepo ($directory) {
179 182
         return file_exists($directory."/.git");
180 183
     }
Please login to merge, or discard this patch.
code/tasks/UpdateModules.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -317,6 +317,9 @@  discard block
 block discarded – undo
317 317
  
318 318
     }
319 319
 
320
+    /**
321
+     * @param string $filename
322
+     */
320 323
     private function checkFile($module, $filename) {
321 324
         $folder = GitHubModule::Config()->get('absolute_temp_folder');
322 325
         return file_exists($folder.'/'.$module.'/'.$filename);
@@ -326,6 +329,9 @@  discard block
 block discarded – undo
326 329
         return $this->checkFile($module, "README.MD");
327 330
     }
328 331
 
332
+    /**
333
+     * @param string $directory
334
+     */
329 335
     private function checkDirExcludedWords($directory, $wordArray) {
330 336
         $filesAndFolders = scandir ($directory);
331 337
 
@@ -355,6 +361,9 @@  discard block
 block discarded – undo
355 361
         return $problem_files;
356 362
     }
357 363
 
364
+    /**
365
+     * @param string $fileName
366
+     */
358 367
     private function checkFileExcludedWords($fileName, $wordArray) {
359 368
 		
360 369
 
Please login to merge, or discard this patch.