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 ( fc2f08...10d0e6 )
by
unknown
61:03
created
plugins/projectlinks/include/ProjectLinksPluginInfo.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
 
29 29
 class ProjectLinksPluginInfo extends PluginInfo {
30 30
     
31
+    /**
32
+     * @param ProjectLinksPlugin $plugin
33
+     */
31 34
     function ProjectLinksPluginInfo(&$plugin) {
32 35
         $this->PluginInfo($plugin);
33 36
         $this->setPluginDescriptor(new ProjectLinksPluginDescriptor());
Please login to merge, or discard this patch.
plugins/statistics/include/ProjectQuotaHtml.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -266,7 +266,7 @@
 block discarded – undo
266 266
      * @param String $sortBy             Order result set according to this parameter
267 267
      * @param String $orderBy            Specifiy if the result set sort is ascending or descending
268 268
      * @param String $projectFilterParam Search filter
269
-     * @param Array  $list               List of projects Id corresponding to a given filter
269
+     * @param Iterator  $list               List of projects Id corresponding to a given filter
270 270
      *
271 271
      * @return Array
272 272
      */
Please login to merge, or discard this patch.
plugins/statistics/include/ProjectQuotaManager.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      *
52 52
      * @param Integer $group_id The ID of the project we are looking for its quota
53 53
      *
54
-     * @return String
54
+     * @return integer
55 55
      */
56 56
     private function getProjectAuthorizedQuota($group_id) {
57 57
         $quota = $this->getProjectCustomQuota($group_id);
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      *
67 67
      * @param Integer $size The quota size in bi
68 68
      *
69
-     * @return Float
69
+     * @return integer
70 70
      */
71 71
     private function convertQuotaToGiB($size) {
72 72
         return $size * 1024 * 1024 * 1024;
Please login to merge, or discard this patch.
plugins/statistics/include/ProjectsOverQuotaTablePresenter.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,6 +22,9 @@
 block discarded – undo
22 22
 
23 23
     public $table_content;
24 24
 
25
+    /**
26
+     * @param string $table_content
27
+     */
25 28
     public function __construct($table_content) {
26 29
         $this->table_content  = $table_content;
27 30
     }
Please login to merge, or discard this patch.
plugins/statistics/include/Statistics_DiskUsageDao.class.php 1 patch
Doc Comments   +20 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@  discard block
 block discarded – undo
58 58
         return false;
59 59
     }
60 60
 
61
+    /**
62
+     * @param string $date
63
+     */
61 64
     public function findFirstDateGreaterEqualThan($date, $table) {
62 65
         $date = $this->da->quoteSmart($date);
63 66
         $sql  = "SELECT date
@@ -75,6 +78,9 @@  discard block
 block discarded – undo
75 78
         return false;
76 79
     }
77 80
 
81
+    /**
82
+     * @param string $table
83
+     */
78 84
     public function findFirstDateGreaterThan($date, $table, $field='date') {
79 85
         $sql = 'SELECT date'.
80 86
                ' FROM '.$table.
@@ -89,6 +95,9 @@  discard block
 block discarded – undo
89 95
         return false;
90 96
     }
91 97
 
98
+    /**
99
+     * @param string $table
100
+     */
92 101
     public function findFirstDateLowerThan($date, $table, $field='date') {
93 102
         $sql = 'SELECT date'.
94 103
                ' FROM '.$table.
@@ -139,6 +148,9 @@  discard block
 block discarded – undo
139 148
         return $this->retrieve($sql);
140 149
     }
141 150
 
151
+    /**
152
+     * @param string $dateMethod
153
+     */
142 154
     protected function _getGroupByFromDateMethod($dateMethod, &$select, &$groupBy) {
143 155
         switch ($dateMethod) {
144 156
             case 'DAY':
@@ -291,7 +303,7 @@  discard block
 block discarded – undo
291 303
      /**
292 304
      * Compute average size of user_id
293 305
      * 
294
-     * @param int $user_id
306
+     * @param int $userId
295 307
      * 
296 308
      * @return DataAccessResult
297 309
      */
@@ -362,7 +374,6 @@  discard block
 block discarded – undo
362 374
     /**
363 375
      * Compute average size of user_id
364 376
      * 
365
-     * @param int $user_id
366 377
      * 
367 378
      * @return DataAccessResult
368 379
      */
@@ -457,6 +468,9 @@  discard block
 block discarded – undo
457 468
     
458 469
     }
459 470
 
471
+    /**
472
+     * @param string $threshold_date
473
+     */
460 474
     public function purgeDataOlderThan($dates_to_keep, $threshold_date, $table) {
461 475
         $dates_to_keep  = $this->da->quoteSmartImplode(',', $dates_to_keep);
462 476
         $threshold_date = $this->da->quoteSmart($threshold_date);
@@ -468,6 +482,10 @@  discard block
 block discarded – undo
468 482
         return $this->update($sql);
469 483
     }
470 484
 
485
+    /**
486
+     * @param string $threshold_date_min
487
+     * @param string $threshold_date_max
488
+     */
471 489
     public function purgeDataBetweenTwoDates($dates_to_keep, $threshold_date_min, $threshold_date_max, $table) {
472 490
         $dates_to_keep      = $this->da->quoteSmartImplode(',', $dates_to_keep);
473 491
         $threshold_date_min = $this->da->quoteSmart($threshold_date_min);
Please login to merge, or discard this patch.
plugins/statistics/include/Statistics_DiskUsageHtml.class.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -173,6 +173,7 @@
 block discarded – undo
173 173
 
174 174
     /**
175 175
      * Apply a jpgraph compliant color modifier on color and return a css rgb() rule
176
+     * @param string $color
176 177
      */
177 178
     function applyColorModifier($color) {
178 179
         $jpgraphRgb = new RGB();
Please login to merge, or discard this patch.
plugins/statistics/include/Statistics_DiskUsageManager.class.php 1 patch
Doc Comments   +35 added lines patch added patch discarded remove patch
@@ -176,6 +176,9 @@  discard block
 block discarded – undo
176 176
         }
177 177
     }
178 178
 
179
+    /**
180
+     * @param string $groupBy
181
+     */
179 182
     function getRangeDates($dar, $groupBy) {
180 183
         $dates = array();
181 184
         foreach ($dar as $row) {
@@ -202,6 +205,9 @@  discard block
 block discarded – undo
202 205
          
203 206
     }
204 207
 
208
+    /**
209
+     * @param integer $limit
210
+     */
205 211
     public function getTopProjects($startDate, $endDate, $service, $order, $offset, $limit) {
206 212
         $dao   = $this->_getDao();
207 213
         $dar   = $dao->getProjectContributionForService($startDate, $endDate, $service, $order, $offset, $limit);
@@ -340,6 +346,9 @@  discard block
 block discarded – undo
340 346
         return false;
341 347
     }
342 348
 
349
+    /**
350
+     * @return integer
351
+     */
343 352
     public function returnTotalProjectSize($group_id){
344 353
         $dao  = $this->_getDao();
345 354
         $recentDate = $dao->searchMostRecentDate();
@@ -423,6 +432,10 @@  discard block
 block discarded – undo
423 432
         return false;
424 433
     }
425 434
 
435
+    /**
436
+     * @param integer $groupId
437
+     * @param string $groupBy
438
+     */
426 439
     public function getWeeklyEvolutionProjectTotalSize($groupId,$groupBy, $startDate, $endDate){
427 440
         $groupBy = strtoupper($groupBy);
428 441
         $dao  = $this->_getDao();
@@ -437,6 +450,9 @@  discard block
 block discarded – undo
437 450
          
438 451
     }
439 452
 
453
+    /**
454
+     * @param integer $userId
455
+     */
440 456
     public function getWeeklyEvolutionUserData($userId,$groupBy, $startDate, $endDate){
441 457
         $groupBy = strtoupper($groupBy);
442 458
         $dao  = $this->_getDao();
@@ -451,6 +467,10 @@  discard block
 block discarded – undo
451 467
          
452 468
     }
453 469
     
470
+    /**
471
+     * @param integer $groupId
472
+     * @param string $groupBy
473
+     */
454 474
     public function getWeeklyEvolutionProjectData($services, $groupId,$groupBy, $startDate, $endDate){
455 475
         $groupBy = strtoupper($groupBy);
456 476
         $dao  = $this->_getDao();
@@ -478,6 +498,9 @@  discard block
 block discarded – undo
478 498
         return false;
479 499
     }
480 500
 
501
+    /**
502
+     * @param string $dir
503
+     */
481 504
     public function getDirSize($dir) {
482 505
         if (is_dir($dir)) {
483 506
             $output = array();
@@ -490,6 +513,10 @@  discard block
 block discarded – undo
490 513
         return false;
491 514
     }
492 515
     
516
+    /**
517
+     * @param string $service
518
+     * @param string $path
519
+     */
493 520
     public function storeForGroup($groupId, $service, $path) {
494 521
         $size = $this->getDirSize($path.'/');
495 522
         if ($size) {
@@ -498,6 +525,10 @@  discard block
 block discarded – undo
498 525
         }
499 526
     }
500 527
 
528
+    /**
529
+     * @param string $service
530
+     * @param string $path
531
+     */
501 532
     public function storeForUser($userId, $service, $path) {
502 533
         $size = $this->getDirSize($path.'/');
503 534
         if ($size) {
@@ -506,6 +537,10 @@  discard block
 block discarded – undo
506 537
         }
507 538
     }
508 539
     
540
+    /**
541
+     * @param string $service
542
+     * @param string $path
543
+     */
509 544
     public function storeForSite($service, $path) {
510 545
         $size = $this->getDirSize($path.'/');
511 546
         if ($size) {
Please login to merge, or discard this patch.
plugins/statistics/include/Statistics_Services_UsageFormatter.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
     /**
74 74
      * Format a query result containing size to put them in MegaBytes
75 75
      *
76
-     * @param array|DataAccessResult $query_result
76
+     * @param array|DataAccessResult $query_results
77 77
      */
78 78
     public function formatSizeInMegaBytes($query_results) {
79 79
         $resized_results = array();
Please login to merge, or discard this patch.
plugins/statistics/include/Statistics_ServicesUsageDao.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -150,6 +150,9 @@
 block discarded – undo
150 150
         return $this->retrieve($sql);
151 151
     }
152 152
 
153
+    /**
154
+     * @param integer $timestamp
155
+     */
153 156
     private function formatDateForCVS($timestamp) {
154 157
         return strftime("%Y%m%d", $timestamp);
155 158
     }
Please login to merge, or discard this patch.