Completed
Push — master ( 1385c4...94a8d3 )
by Nicolaas
01:48
created
code/objects/GitHubModule.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -180,6 +180,9 @@
 block discarded – undo
180 180
         return 'https://github.com/'.$username.'/'.$this->ModuleName;
181 181
     }
182 182
 
183
+    /**
184
+     * @param string|null $directory
185
+     */
183 186
     protected function IsDirGitRepo($directory)
184 187
     {
185 188
         return file_exists($directory."/.git");
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
@@ -322,6 +322,9 @@  discard block
 block discarded – undo
322 322
         $configYml = ConfigYML::create($module)->reWrite();
323 323
     }
324 324
 
325
+    /**
326
+     * @param string $filename
327
+     */
325 328
     private function checkFile($module, $filename)
326 329
     {
327 330
         $folder = GitHubModule::Config()->get('absolute_temp_folder');
@@ -333,6 +336,9 @@  discard block
 block discarded – undo
333 336
         return $this->checkFile($module, "README.MD");
334 337
     }
335 338
 
339
+    /**
340
+     * @param string $directory
341
+     */
336 342
     private function checkDirExcludedWords($directory, $wordArray)
337 343
     {
338 344
         $filesAndFolders = scandir($directory);
@@ -361,6 +367,9 @@  discard block
 block discarded – undo
361 367
         return $problem_files;
362 368
     }
363 369
 
370
+    /**
371
+     * @param string $fileName
372
+     */
364 373
     private function checkFileExcludedWords($fileName, $wordArray)
365 374
     {
366 375
         $matchedWords = array();
Please login to merge, or discard this patch.