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_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.
plugins/docman/include/Docman_Metadata.class.php 1 patch
Doc Comments   +37 added lines patch added patch discarded remove patch
@@ -78,6 +78,10 @@  discard block
 block discarded – undo
78 78
     }
79 79
 
80 80
     //{{{ Accessors
81
+
82
+    /**
83
+     * @param integer $v
84
+     */
81 85
     function setId($v) {
82 86
         $this->id = $v;
83 87
     }
@@ -106,6 +110,9 @@  discard block
 block discarded – undo
106 110
         return $this->type;
107 111
     }
108 112
 
113
+    /**
114
+     * @param string $v
115
+     */
109 116
     function setLabel($v) {
110 117
         $this->label = $v;
111 118
     }
@@ -155,6 +162,9 @@  discard block
 block discarded – undo
155 162
         return $this->special;
156 163
     }
157 164
 
165
+    /**
166
+     * @param integer $v
167
+     */
158 168
     function setDefaultValue($v) {
159 169
         $this->defaultValue = $v;
160 170
     }
@@ -218,6 +228,10 @@  discard block
 block discarded – undo
218 228
 
219 229
     //{{{ Changable parameters
220 230
     var $canChangeName;
231
+
232
+    /**
233
+     * @param boolean $v
234
+     */
221 235
     function setCanChangeName($v) {
222 236
         $this->canChangeName = $v;
223 237
     }
@@ -226,6 +240,10 @@  discard block
 block discarded – undo
226 240
     }
227 241
     
228 242
     var $canChangeType;
243
+
244
+    /**
245
+     * @param boolean $v
246
+     */
229 247
     function setCanChangeType($v) {
230 248
         $this->canChangeType = $v;
231 249
     }
@@ -234,6 +252,10 @@  discard block
 block discarded – undo
234 252
     }
235 253
 
236 254
     var $canChangeDescription;
255
+
256
+    /**
257
+     * @param boolean $v
258
+     */
237 259
     function setCanChangeDescription($v) {
238 260
         $this->canChangeDescription = $v;
239 261
     }
@@ -242,6 +264,10 @@  discard block
 block discarded – undo
242 264
     }
243 265
 
244 266
     var $canChangeIsEmptyAllowed;
267
+
268
+    /**
269
+     * @param boolean $v
270
+     */
245 271
     function setCanChangeIsEmptyAllowed($v) {
246 272
         $this->canChangeIsEmptyAllowed = $v;
247 273
     }
@@ -250,6 +276,10 @@  discard block
 block discarded – undo
250 276
     }
251 277
 
252 278
     var $canChangeIsMultipleValuesAllowed;
279
+
280
+    /**
281
+     * @param boolean $v
282
+     */
253 283
     function setCanChangeIsMultipleValuesAllowed($v) {
254 284
         $this->canChangeIsMultipleValuesAllowed = $v;
255 285
     }
@@ -258,6 +288,10 @@  discard block
 block discarded – undo
258 288
     }
259 289
 
260 290
     var $canChangeValue;
291
+
292
+    /**
293
+     * @param boolean $v
294
+     */
261 295
     function setCanChangeValue($v) {
262 296
         $this->canChangeValue = $v;
263 297
     }
@@ -376,6 +410,9 @@  discard block
 block discarded – undo
376 410
         return $i;
377 411
     }
378 412
 
413
+    /**
414
+     * @param integer $v
415
+     */
379 416
     function setDefaultValue($v) {
380 417
         if(is_a($v, 'Iterator')) {
381 418
             $v->rewind();
Please login to merge, or discard this patch.
plugins/docman/include/Docman_MetadataComparator.class.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -27,6 +27,10 @@  discard block
 block discarded – undo
27 27
     var $srcGo;
28 28
     var $dstGo;
29 29
 
30
+    /**
31
+     * @param integer $srcGroupId
32
+     * @param integer $dstGroupId
33
+     */
30 34
     function Docman_MetadataComparator($srcGroupId, $dstGroupId, $themePath) {
31 35
         $this->docmanIcons = new Docman_Icons($themePath.'/images/ic/');
32 36
         $pm = ProjectManager::instance();
@@ -37,6 +41,8 @@  discard block
 block discarded – undo
37 41
     /**
38 42
      * For a five object iterator, return an array of object indexed by
39 43
      * $func applied on object.
44
+     * @param ArrayIterator $iter
45
+     * @param string $func
40 46
      */
41 47
     function getArrayFromIterator($iter, $func) {
42 48
         $a = array();
Please login to merge, or discard this patch.