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 ( 067c77...adceb2 )
by
unknown
67:51
created
plugins/docman/include/ApprovalTable/Reviewer/ReviewerDao.class.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -76,6 +76,9 @@  discard block
 block discarded – undo
76 76
         return parent::prepareRanking($userId, $tableId, $rank, 'reviewer_id', 'table_id');
77 77
     }
78 78
 
79
+    /**
80
+     * @param integer $userId
81
+     */
79 82
     function addUser($tableId, $userId) {
80 83
         $newRank = $this->prepareUserRanking($tableId, $userId, 'end');
81 84
         $sql = sprintf('INSERT INTO plugin_docman_approval_user'.
@@ -146,6 +149,11 @@  discard block
 block discarded – undo
146 149
         return $this->_copyReviewers($srcTableId, $dstTableId, 'NULL', 0, "''", 'NULL');
147 150
     }
148 151
 
152
+    /**
153
+     * @param string $date
154
+     * @param string $comment
155
+     * @param string $version
156
+     */
149 157
     function _copyReviewers($srcTableId, $dstTableId, $date, $state, $comment, $version) {
150 158
         $sql = 'INSERT INTO plugin_docman_approval_user'.
151 159
             '(table_id, reviewer_id, rank, date, state, comment, version) '.
@@ -158,6 +166,9 @@  discard block
 block discarded – undo
158 166
         return $this->update($sql);
159 167
     }
160 168
 
169
+    /**
170
+     * @param integer $state
171
+     */
161 172
     function getAllReviewsForUserByState($userId, $state) {
162 173
         // Item
163 174
         $sql_item = 'SELECT u.table_id, i.item_id, i.group_id, t.date, i.title, g.group_name'.
Please login to merge, or discard this patch.
plugins/docman/include/ApprovalTable/Reviewer/ReviewerFactory.class.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
     /**
238 238
      * Add members of the given ugroup to the reviewer list.
239 239
      *
240
-     * @return true if at least one user was added to the list.
240
+     * @return boolean if at least one user was added to the list.
241 241
      */
242 242
     function addUgroup($ugroupId) {
243 243
         $nbUserAdded = 0;
@@ -316,6 +316,7 @@  discard block
 block discarded – undo
316 316
 
317 317
     /**
318 318
      *
319
+     * @param integer $newTableId
319 320
      */
320 321
     function newTableCopy($newTableId) {
321 322
         $dao = $this->_getDao();
@@ -324,6 +325,7 @@  discard block
 block discarded – undo
324 325
 
325 326
     /**
326 327
      *
328
+     * @param integer $newTableId
327 329
      */
328 330
     function newTableReset($newTableId) {
329 331
         $dao = $this->_getDao();
Please login to merge, or discard this patch.
plugins/docman/include/ApprovalTable/Wiki/WikiDao.class.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -105,6 +105,8 @@
 block discarded – undo
105 105
 
106 106
     /**
107 107
      * Did user access the wiki since the given version was published.
108
+     * @param integer $groupId
109
+     * @param integer $versionId
108 110
      */
109 111
     function userAccessedSince($userId, $pageName, $groupId, $versionId) {
110 112
         $sql  = 'SELECT NULL'.
Please login to merge, or discard this patch.
plugins/docman/include/ApprovalTable/Wiki/WikiFactory.class.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -45,6 +45,7 @@  discard block
 block discarded – undo
45 45
      * If there is no approval table linked to the item, pick-up the last
46 46
      * version id of the wiki page.
47 47
      * If there is no version for the given wiki page, default to 0.
48
+     * @param Docman_Wiki $item
48 49
      */
49 50
     function __construct($item, $versionNumber=null) {
50 51
         parent::__construct($item);
@@ -106,6 +107,9 @@  discard block
 block discarded – undo
106 107
         return $this->getTableFromVersion($this->item->getId(), $this->wikiVersionId);
107 108
     }
108 109
 
110
+    /**
111
+     * @param integer $version
112
+     */
109 113
     function getTableFromVersion($itemId, $version) {
110 114
         $table = null;
111 115
         if($version !== null) {
Please login to merge, or discard this patch.
plugins/docman/include/Docman_Actions.class.php 1 patch
Doc Comments   +9 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,6 +76,9 @@  discard block
 block discarded – undo
76 76
         return $ret_id;
77 77
     }
78 78
 
79
+    /**
80
+     * @param string $field
81
+     */
79 82
     private function _raiseMetadataChangeEvent(&$user, &$item, $group_id, $old, $new, $field) {
80 83
         $logEventParam = array('group_id' => $group_id,
81 84
                                'item'     => &$item,
@@ -1173,8 +1176,8 @@  discard block
 block discarded – undo
1173 1176
     * The force parameter must be set to true if you want to bypass permissions checking (@see permission_add_ugroup).
1174 1177
     * Pretty difficult to know if a user can update the permissions which does not exist for a new item...
1175 1178
     *
1176
-    * @param $group_id integer The id of the project
1177
-    * @param $item_id integer The id of the item
1179
+    * @param integer $group_id integer The id of the project
1180
+    * @param integer $item_id integer The id of the item
1178 1181
     * @param $permission_definition array The definission of the permission (pretty name, relations between perms, internal name, ...)
1179 1182
     * @param $old_permissions array The permissions before
1180 1183
     * @param &$done_permissions array The permissions after
@@ -1862,6 +1865,7 @@  discard block
 block discarded – undo
1862 1865
 
1863 1866
     /**
1864 1867
      * @access private
1868
+     * @param Docman_ApprovalTableReviewerFactory $atrf
1865 1869
      */
1866 1870
     function _approval_update_add_users($atrf, $usUserList, $sUgroups) {
1867 1871
         $noError = true;
@@ -1929,6 +1933,7 @@  discard block
 block discarded – undo
1929 1933
 
1930 1934
     /**
1931 1935
      * @access private
1936
+     * @param Docman_ApprovalTableReviewerFactory $atrf
1932 1937
      */
1933 1938
     function _approval_update_del_users($atrf, $selectedUsers) {
1934 1939
         $deletedUsers = 0;
@@ -1947,6 +1952,7 @@  discard block
 block discarded – undo
1947 1952
 
1948 1953
     /**
1949 1954
      * @access private
1955
+     * @param Docman_ApprovalTableReviewerFactory $atrf
1950 1956
      */
1951 1957
     function _approval_update_notify_users($atrf, $selectedUsers) {
1952 1958
         $notifiedUsers = 0;
@@ -1972,6 +1978,7 @@  discard block
 block discarded – undo
1972 1978
 
1973 1979
     /**
1974 1980
      * @access private
1981
+     * @param Docman_ApprovalTableReviewerFactory $atrf
1975 1982
      */
1976 1983
     function _approval_update_notif_resend($atrf) {
1977 1984
         $res = $atrf->notifyReviewers();
Please login to merge, or discard this patch.
plugins/docman/include/Docman_ActionsDeleteVisitor.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -145,6 +145,9 @@
 block discarded – undo
145 145
         return $this->visitDocument($item, $params);
146 146
     }
147 147
 
148
+    /**
149
+     * @param Docman_Item $item
150
+     */
148 151
     public function restrictAccess($item, $params = array()) {
149 152
         // Check whether there is other references to this wiki page.
150 153
         $dao = $this->_getItemDao();
Please login to merge, or discard this patch.
plugins/docman/include/Docman_BuildItemMappingVisitor.class.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -164,6 +164,7 @@  discard block
 block discarded – undo
164 164
      * When a child of the source item is not found in the destination item,
165 165
      * the search stops, the mapping is (obviously) not done and the source
166 166
      * child and its future brothers are discared.
167
+     * @param Docman_Folder $dstItem
167 168
      */
168 169
     function compareFolderChildren($srcItem, $dstItem) {
169 170
         $nodesToInspect = array();
@@ -210,6 +211,7 @@  discard block
 block discarded – undo
210 211
 
211 212
     /**
212 213
      * Search if there is an equivalent of $item in $parentId.
214
+     * @param integer $parentId
213 215
      */
214 216
     function searchMatchingItem($item, $parentId) {
215 217
         $dao =& $this->getItemDao();
Please login to merge, or discard this patch.
plugins/docman/include/Docman_CloneItemsVisitor.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -228,6 +228,9 @@
 block discarded – undo
228 228
         }
229 229
     }
230 230
     
231
+    /**
232
+     * @param string $mdLabel
233
+     */
231 234
     function _metadataEnabled($srcGroupId, $mdLabel) {
232 235
         if(!isset($this->_cacheMetadataUsage[$mdLabel])) {
233 236
             $srcSettingsBo =& $this->_getSettingsBo($srcGroupId);
Please login to merge, or discard this patch.
plugins/docman/include/Docman_Controller.class.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -125,6 +125,7 @@  discard block
 block discarded – undo
125 125
     /**
126 126
      * Wrapper to i18n string call for docman.
127 127
      * static
128
+     * @param string $key
128 129
      */
129 130
     function txt($key, $vars = array()) {
130 131
         return $GLOBALS['Language']->getText('plugin_docman', $key, $vars);
@@ -147,6 +148,9 @@  discard block
 block discarded – undo
147 148
         }
148 149
     }
149 150
 
151
+    /**
152
+     * @param integer $srcGroupId
153
+     */
150 154
     function _cloneDocman($srcGroupId, $dstGroupId, $ugroupsMapping) {
151 155
         $user = $this->getUser();
152 156
 
@@ -1550,6 +1554,9 @@  discard block
 block discarded – undo
1550 1554
         }
1551 1555
     }
1552 1556
 
1557
+    /**
1558
+     * @param string $name
1559
+     */
1553 1560
     function getProperty($name) {
1554 1561
         $info =& $this->plugin->getPluginInfo();
1555 1562
         return $info->getPropertyValueForName($name);
@@ -1647,6 +1654,7 @@  discard block
 block discarded – undo
1647 1654
     * Checks that the new property have a non-empty name,
1648 1655
     * and also checks that the same name is not already taken by
1649 1656
     * another property
1657
+    * @param string $name
1650 1658
     */
1651 1659
     private function validateNewMetadata($name) {
1652 1660
         $name = trim($name);
@@ -1671,6 +1679,7 @@  discard block
 block discarded – undo
1671 1679
     * Checks that the updating property have a non-empty name,
1672 1680
     * and if the name have been changed, also checks that the same
1673 1681
     * name is not already taken by another property
1682
+    * @param string $name
1674 1683
     */
1675 1684
     private function validateUpdateMetadata($name, $label) {
1676 1685
         $name = trim($name);
@@ -1697,6 +1706,9 @@  discard block
 block discarded – undo
1697 1706
         return $valid;
1698 1707
     }
1699 1708
     
1709
+    /**
1710
+     * @param integer $loveId
1711
+     */
1700 1712
     function validateLove($loveId, $md, &$love) {
1701 1713
         $valid = false;
1702 1714
         
Please login to merge, or discard this patch.