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/docman/include/Docman_Icons.class.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -25,10 +25,17 @@  discard block
 block discarded – undo
25 25
  */
26 26
 class Docman_Icons {
27 27
     var $images_path;
28
+
29
+    /**
30
+     * @param string $images_path
31
+     */
28 32
     function Docman_Icons($images_path) {
29 33
         $this->images_path = $images_path;
30 34
     }
31 35
     
36
+    /**
37
+     * @param string $action
38
+     */
32 39
     function getActionIcon($action) {
33 40
         switch ($action) {
34 41
             case 'popup': 
@@ -186,10 +193,17 @@  discard block
 block discarded – undo
186 193
     function getSpinner() {
187 194
         return $this->images_path . 'spinner.gif';
188 195
     }
196
+
197
+    /**
198
+     * @param string $icon
199
+     */
189 200
     function getIcon($icon) {
190 201
         return $this->images_path . $icon;
191 202
     }
192 203
 
204
+    /**
205
+     * @param string $icon
206
+     */
193 207
     function getThemeIcon($icon) {
194 208
         return util_get_image_theme('ic/'.$icon);
195 209
     }
Please login to merge, or discard this patch.
plugins/docman/include/Docman_Item.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -340,6 +340,9 @@
 block discarded – undo
340 340
         return $this->pathTitle;
341 341
     }
342 342
 
343
+    /**
344
+     * @param string $event
345
+     */
343 346
     public function fireEvent($event, $user, $parent=null) {
344 347
         $params = array('group_id' => $this->getGroupId(),
345 348
                         'parent'   => $parent,
Please login to merge, or discard this patch.
plugins/docman/include/Docman_ItemDao.class.php 1 patch
Doc Comments   +16 added lines, -7 removed lines patch added patch discarded remove patch
@@ -53,6 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     /**
55 55
      * Return the SQL statements that exclude deleted & obsolete items.
56
+     * @param string $table
56 57
      */
57 58
     function getCommonExcludeStmt($table) {
58 59
         return Docman_ItemDao::getExcludeDeletedItemsStmt($table).' AND '.
@@ -114,6 +115,8 @@  discard block
 block discarded – undo
114 115
     }
115 116
 
116 117
     /**
118
+     * @param integer $limit
119
+     * @param integer $offset
117 120
      * @return DataAccessResult
118 121
      */
119 122
     public function searchPaginatedWithVersionByGroupId($groupId, $limit, $offset) {
@@ -312,7 +315,7 @@  discard block
 block discarded – undo
312 315
     /**
313 316
      * Create a string from an array of sql statements.
314 317
      *
315
-     * @param $op Operator (AND, OR, LEFT JOIN, ...)
318
+     * @param string $op Operator (AND, OR, LEFT JOIN, ...)
316 319
      * @param $stmtArray Array of statements.
317 320
      * @return string
318 321
      */
@@ -377,8 +380,8 @@  discard block
 block discarded – undo
377 380
     /**
378 381
      * Creates an item by calling the given SQL request, and returns the new ID
379 382
      *  
380
-     * @param $sql          SQL request
381
-     * @param $updateParent Determines if the parent folder "update date" must be updated
383
+     * @param string $sql          SQL request
384
+     * @param boolean $updateParent Determines if the parent folder "update date" must be updated
382 385
      */
383 386
     function _createAndReturnId($sql, $updateParent) {
384 387
         $inserted = $this->update($sql);
@@ -398,7 +401,8 @@  discard block
 block discarded – undo
398 401
     /**
399 402
      * Update a row in the table plugin_docman_item 
400 403
      *
401
-     * @return true if there is no error
404
+     * @param integer $update_date
405
+     * @return boolean if there is no error
402 406
      */
403 407
     function updateById($item_id, $parent_id=null, $group_id=null, $title=null,
404 408
                     $description=null, $create_date=null, $update_date=null, 
@@ -529,7 +533,7 @@  discard block
 block discarded – undo
529 533
      * Delete entry that match $item_id in plugin_docman_item
530 534
      *
531 535
      * @param $item_id int
532
-     * @return true if there is no error
536
+     * @return boolean if there is no error
533 537
      */
534 538
     function delete($item_id) {
535 539
         $sql = sprintf("DELETE FROM plugin_docman_item WHERE item_id=%d",
@@ -722,6 +726,11 @@  discard block
 block discarded – undo
722 726
      *
723 727
      * @note: Cross-Project query.
724 728
      */
729
+
730
+    /**
731
+     * @param integer $tsStart
732
+     * @param integer $tsEnd
733
+     */
725 734
     function searchObsoleteAcrossProjects($tsStart, $tsEnd) {
726 735
         $sql = sprintf('SELECT i.*'.
727 736
                        ' FROM plugin_docman_item i, groups g'.
@@ -807,7 +816,7 @@  discard block
 block discarded – undo
807 816
     /**
808 817
     * This removes all users copy preferences set on item identified by $item_id. This is done once the corresponding item is deleted
809 818
     *
810
-    * @param int $itemid identifer of docman item that has been marked as deleted.
819
+    * @param integer $item_id identifer of docman item that has been marked as deleted.
811 820
     *@return void
812 821
     *
813 822
     */
@@ -822,7 +831,7 @@  discard block
 block discarded – undo
822 831
     /**
823 832
     * This removes all users cut preferences set on item identified by $item_id. This is done once the corresponding item is deleted
824 833
     *
825
-    * @param int $itemid identifer of docman item that has been marked as deleted.
834
+    * @param integer $item_id identifer of docman item that has been marked as deleted.
826 835
     *@return void
827 836
     *
828 837
     */
Please login to merge, or discard this patch.
plugins/docman/include/Docman_ItemFactory.class.php 1 patch
Doc Comments   +11 added lines, -3 removed lines patch added patch discarded remove patch
@@ -360,8 +360,8 @@  discard block
 block discarded – undo
360 360
      *
361 361
      * This function retreive collapsed folders from user preferences 
362 362
      *
363
-     * @param $parentId Id of the "current" root node (cannot be excluded).
364
-     * @param $userId Id of current user.
363
+     * @param integer $parentId Id of the "current" root node (cannot be excluded).
364
+     * @param integer $userId Id of current user.
365 365
      * @return Array List of items to exclude for a search
366 366
      **/
367 367
     function &_getExpandedUserPrefs($parentId, $userId) {           
@@ -663,7 +663,8 @@  discard block
 block discarded – undo
663 663
     /**
664 664
      * Build a list of items
665 665
      *
666
-     * @return ItemNode
666
+     * @param integer $nbItemsFound
667
+     * @return ArrayIterator
667 668
      */
668 669
     function &getItemList($id = 0, &$nbItemsFound, $params = null) {
669 670
         if (!$id) {
@@ -1079,6 +1080,12 @@  discard block
 block discarded – undo
1079 1080
 
1080 1081
     /**
1081 1082
      * Copy a subtree.
1083
+     * @param integer $srcGroupId
1084
+     * @param integer $dstGroupId
1085
+     * @param PFUser $user
1086
+     * @param boolean $ugroupsMapping
1087
+     * @param string $dataRoot
1088
+     * @param string $ordering
1082 1089
      */
1083 1090
     function cloneItems($srcGroupId, $dstGroupId, $user, $metadataMapping, $ugroupsMapping, $dataRoot, $srcItemId = 0, $dstItemId = 0, $ordering = null) {
1084 1091
         $itemMapping = array();
@@ -1221,6 +1228,7 @@  discard block
 block discarded – undo
1221 1228
     /**
1222 1229
      * Recursive method that takes a subtree and
1223 1230
      * returns the corresponding stats (count + size)
1231
+     * @param Docman_Item|null $folder
1224 1232
      */
1225 1233
     private function getFolderTreeStats($folder) {
1226 1234
         $stats['count'] = 0;
Please login to merge, or discard this patch.
plugins/docman/include/Docman_LinkVersionDao.class.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@  discard block
 block discarded – undo
21 21
 class Docman_LinkVersionDao extends DataAccessObject {
22 22
 
23 23
     /**
24
+     * @param integer $item_id
24 25
      * @return DataAccessResult
25 26
      */
26 27
     function searchByItemId($item_id) {
@@ -34,6 +35,7 @@  discard block
 block discarded – undo
34 35
     }
35 36
 
36 37
     /**
38
+     * @param integer $item_id
37 39
      * @return DataAccessResult
38 40
      */
39 41
     function searchByNumber($item_id, $number) {
Please login to merge, or discard this patch.
plugins/docman/include/Docman_LockDao.class.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@  discard block
 block discarded – undo
29 29
         parent::__construct($da);
30 30
     }
31 31
 
32
+    /**
33
+     * @param integer $itemId
34
+     */
32 35
     function searchLockForItem($itemId) {
33 36
         $sql = 'SELECT *'.
34 37
                ' FROM plugin_docman_item_lock'.
@@ -84,6 +87,10 @@  discard block
 block discarded – undo
84 87
         return $this->retrieve($sql);
85 88
     }
86 89
     
90
+    /**
91
+     * @param integer $itemId
92
+     * @param integer $userId
93
+     */
87 94
     function addLock($itemId, $userId, $date) {
88 95
         $sql = 'INSERT INTO plugin_docman_item_lock'.
89 96
                ' (item_id, user_id, lock_date)'.
@@ -95,6 +102,9 @@  discard block
 block discarded – undo
95 102
         return $this->update($sql);
96 103
     }
97 104
 
105
+    /**
106
+     * @param integer $itemId
107
+     */
98 108
     function delLock($itemId) {
99 109
         $sql = 'DELETE FROM plugin_docman_item_lock'.
100 110
                ' WHERE item_id = '.$this->da->quoteSmart($itemId);
Please login to merge, or discard this patch.
plugins/docman/include/Docman_LockFactory.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     /**
86 86
      * Retrun true if given user locked given item
87 87
      *
88
-     * @param Intger $itemId Item to test
88
+     * @param integer $itemId Item to test
89 89
      * @param PFUser   $user   User to test
90 90
      *
91 91
      * @return Boolean
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
     /**
113 113
      * Return true if item is locked
114 114
      * 
115
-     * @param Docman_Item $item Item to test
115
+     * @param Docman_Item $itemId Item to test
116 116
      * 
117 117
      * @return Boolean
118 118
      */
Please login to merge, or discard this patch.
plugins/docman/include/Docman_Log.class.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -252,6 +252,7 @@
 block discarded – undo
252 252
 
253 253
     /**
254 254
      * Search if user accessed the given item after the given date.
255
+     * @param integer $itemId
255 256
      */
256 257
     function userAccessedSince($userId, $itemId, $date) {
257 258
         return $this->dao->searchUserAccessSince($userId, $itemId, $date);
Please login to merge, or discard this patch.
plugins/docman/include/Docman_LogDao.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
 
119 119
     /**
120 120
     * create a row in the table plugin_docman_log 
121
-    * @return true or id(auto_increment) if there is no error
121
+    * @return boolean or id(auto_increment) if there is no error
122 122
     */
123 123
     function create($group_id, $item_id, $user_id, $type, $old_value = null, $new_value = null, $field = null) {
124 124
 		$sql = 'INSERT INTO plugin_docman_log (time, group_id, item_id, user_id, type';
Please login to merge, or discard this patch.