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_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.
plugins/docman/include/Docman_MetadataDao.class.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -42,6 +42,9 @@  discard block
 block discarded – undo
42 42
         return $this->retrieve($sql);
43 43
     }
44 44
 
45
+    /**
46
+     * @param boolean $onlyUsed
47
+     */
45 48
     function searchByGroupId($id, $onlyUsed, $type = array()) {
46 49
         $where_clause = '';
47 50
         if($onlyUsed) {
@@ -143,6 +146,9 @@  discard block
 block discarded – undo
143 146
 
144 147
     }
145 148
 
149
+    /**
150
+     * @param string $sql
151
+     */
146 152
     function _createAndReturnId($sql) {
147 153
         $inserted = $this->update($sql);
148 154
         if ($inserted) {
Please login to merge, or discard this patch.
plugins/docman/include/Docman_MetadataFactory.class.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -98,6 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * Create a Metadata object based on DB a entry.
101
+     * @param string $id
101 102
      */
102 103
     function &getRealMetadata($id) {
103 104
         $md = null;
@@ -147,6 +148,7 @@  discard block
 block discarded – undo
147 148
      * Fetch and append HardCoded metadata variable parameters.
148 149
      *
149 150
      * Some HardCoded are customizable at project level.
151
+     * @param Docman_Metadata|null $md
150 152
      */
151 153
     function appendHardCodedMetadataParams(&$md) {
152 154
         $sBo =& Docman_SettingsBo::instance($this->groupId);
@@ -452,6 +454,9 @@  discard block
 block discarded – undo
452 454
         return false;
453 455
     }
454 456
 
457
+    /**
458
+     * @param Docman_Metadata $md
459
+     */
455 460
     function create(&$md) {
456 461
         $md->setGroupId($this->groupId);
457 462
 
Please login to merge, or discard this patch.
plugins/docman/include/Docman_MetadataHtml.class.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@  discard block
 block discarded – undo
56 56
         return $mdh;
57 57
     }
58 58
 
59
+    /**
60
+     * @param boolean $whitelist
61
+     */
59 62
     function buildFieldArray($mdIter, $mdla, $whitelist, $formName, $themePath) {
60 63
         $fields = array();
61 64
         $formParams = array('form_name' => $formName,
@@ -212,7 +215,7 @@  discard block
 block discarded – undo
212 215
     /**
213 216
      * Return field input validator.
214 217
      *
215
-     * @return string
218
+     * @return Docman_ValidateMetadataIsNotEmpty|null
216 219
      */
217 220
     function &getValidator() {
218 221
         $validator = null;
Please login to merge, or discard this patch.
plugins/docman/include/Docman_MetadataListOfValuesElementDao.class.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@  discard block
 block discarded – undo
51 51
         return $this->retrieve($sql);
52 52
     }
53 53
 
54
+    /**
55
+     * @param boolean $onlyActive
56
+     */
54 57
     function searchByName($metadataId, $name, $onlyActive) {
55 58
         $where_clause = '';
56 59
         if($onlyActive === true) {
@@ -184,6 +187,9 @@  discard block
 block discarded – undo
184 187
         }
185 188
     }
186 189
 
190
+    /**
191
+     * @param string $sql
192
+     */
187 193
     function _createAndReturnId($sql) {
188 194
         $inserted = $this->update($sql);
189 195
         if ($inserted) {
Please login to merge, or discard this patch.
plugins/docman/include/Docman_MetadataListOfValuesElementFactory.class.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -49,6 +49,7 @@  discard block
 block discarded – undo
49 49
      * Delete the the ListOfValueElement.
50 50
      * Then keep metadata_value consistent: if there is no entry for a given
51 51
      * (item, $this->metadataId), create a default entry (NONE value).
52
+     * @param Docman_MetadataListOfValuesElement $love
52 53
      */
53 54
     function delete(&$love) {
54 55
         $dao =& $this->getDao();
@@ -131,6 +132,9 @@  discard block
 block discarded – undo
131 132
         }
132 133
     }
133 134
 
135
+    /**
136
+     * @param boolean $onlyActive
137
+     */
134 138
     function &getIteratorByFieldId($id, $mdLabel, $onlyActive) {
135 139
         $loveArray = $this->getListByFieldId($id, $mdLabel, $onlyActive);
136 140
         $loveIter  = new ArrayIterator($loveArray);
@@ -296,6 +300,7 @@  discard block
 block discarded – undo
296 300
 
297 301
     /**
298 302
      * Return static list of status (hardcoded metadata with hardcoded values)
303
+     * @param integer $status
299 304
      */
300 305
     function &getStatusList($status=null) {
301 306
         $ea = array();
Please login to merge, or discard this patch.
plugins/docman/include/Docman_MetaMetadataHtml.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
         $this->str_no = $GLOBALS['Language']->getText('plugin_docman', 'admin_md_detail_param_no');
35 35
     }
36 36
 
37
+    /**
38
+     * @param string|false $sthCanChange
39
+     */
37 40
     function getName(&$sthCanChange) {
38 41
         $mdContent = '';
39 42
         $mdContent .= '<tr>';
Please login to merge, or discard this patch.
plugins/docman/include/Docman_NotificationsManager.class.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@  discard block
 block discarded – undo
51 51
      */
52 52
     private $mail_builder;
53 53
 
54
+    /**
55
+     * @param string|null $url
56
+     */
54 57
     function __construct(Project $project, $url, $feedback, MailBuilder $mail_builder) {
55 58
         parent::__construct();
56 59
 
@@ -172,6 +175,9 @@  discard block
 block discarded – undo
172 175
         return $users;
173 176
     }
174 177
 
178
+    /**
179
+     * @param PFUser $user
180
+     */
175 181
     function _buildMessage($event, $params, $user) {
176 182
         $type = '';
177 183
         switch($event) {
@@ -200,6 +206,9 @@  discard block
 block discarded – undo
200 206
         );
201 207
     }
202 208
 
209
+    /**
210
+     * @param string $msg
211
+     */
203 212
     protected function _addMessage(PFUser $to, $subject, $msg, $link) {
204 213
         if (!isset($this->notifications[$msg])) {
205 214
             $subject = '['. util_unconvert_htmlspecialchars($this->_group_name) .' - Documents] '. $subject;
Please login to merge, or discard this patch.
plugins/docman/include/Docman_NotificationsManager_Add.class.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -47,6 +47,10 @@  discard block
 block discarded – undo
47 47
                 break;
48 48
         }
49 49
     }
50
+
51
+    /**
52
+     * @param string $message_type
53
+     */
50 54
     function _getMessageForUser(&$user, $message_type, $params) {
51 55
         $msg = '';
52 56
         switch($message_type) {
@@ -66,6 +70,9 @@  discard block
 block discarded – undo
66 70
         return $msg;
67 71
     }
68 72
 
73
+    /**
74
+     * @param string $type
75
+     */
69 76
     protected function getMessageLink($type, $params) {
70 77
         switch($type) {
71 78
             case self::MESSAGE_ADDED:
Please login to merge, or discard this patch.