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/tracker/include/REST/FieldListStaticValueRepresentation.class.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 
23 23
 use \Tracker_FormElement_Field_List_Value;
24 24
 use Tuleap\REST\JsonCast;
25
-use Project;
26 25
 
27 26
 class FieldListStaticValueRepresentation {
28 27
     /**
Please login to merge, or discard this patch.
plugins/tracker/include/REST/TrackerRestBuilder.class.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -80,6 +80,7 @@
 block discarded – undo
80 80
 
81 81
     /**
82 82
      * @param PFUser $user
83
+     * @param integer $project_id
83 84
      * @return Tuleap\Tracker\REST\WorkflowRepresentation | null
84 85
      */
85 86
     private function getWorkflowRepresentation(Workflow $workflow, PFUser $user, $project_id) {
Please login to merge, or discard this patch.
plugins/tracker/include/REST/v1/ArtifactFilesResource.class.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -102,6 +102,9 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * @throws 403
104 104
      * @throws 404
105
+     * @param integer $id
106
+     * @param integer $offset
107
+     * @param integer $limit
105 108
      */
106 109
     private function getAttachedFileContent($id, $offset, $limit) {
107 110
         try {
@@ -116,6 +119,7 @@  discard block
 block discarded – undo
116 119
 
117 120
     /**
118 121
      * @throws 406
122
+     * @param integer $limit
119 123
      */
120 124
     private function checkLimitValue($limit) {
121 125
         if ($limit > self::DEFAULT_LIMIT) {
@@ -128,12 +132,17 @@  discard block
 block discarded – undo
128 132
         Header::sendMaxFileChunkSizeHeaders(self::DEFAULT_LIMIT);
129 133
     }
130 134
 
135
+    /**
136
+     * @param integer $limit
137
+     * @param integer $offset
138
+     */
131 139
     private function sendPaginationHeaders($limit, $offset, $size) {
132 140
         Header::sendPaginationHeaders($limit, $offset, $size, FileManager::getMaximumChunkSize());
133 141
     }
134 142
 
135 143
     /**
136 144
      * @throws 404
145
+     * @param integer $id
137 146
      */
138 147
     private function getAttachedFileSize($id) {
139 148
         try {
Please login to merge, or discard this patch.
plugins/tracker/include/REST/v1/ArtifactsResource.class.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      * @param int    $id            Id of the artifact
137 137
      * @param string $values_format The format of the value {@from query} {@choice ,collection,by_field,all}
138 138
      *
139
-     * @return Tuleap\Tracker\REST\Artifact\ArtifactRepresentation
139
+     * @return ArtifactRepresentation
140 140
      */
141 141
     public function getId($id, $values_format = self::VALUES_DEFAULT) {
142 142
         $this->checkAccess();
@@ -421,6 +421,9 @@  discard block
 block discarded – undo
421 421
         Header::eTag($artifact->getVersionIdentifier());
422 422
     }
423 423
 
424
+    /**
425
+     * @param string $uri
426
+     */
424 427
     private function sendLocationHeader($uri) {
425 428
         $uri_with_api_version = '/api/v1/' . $uri;
426 429
 
Please login to merge, or discard this patch.
plugins/tracker/include/REST/v1/ArtifactTemporaryFilesResource.class.php 1 patch
Doc Comments   +13 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,6 +136,9 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * @throws 401
138 138
      * @throws 404
139
+     * @param integer $id
140
+     * @param integer $offset
141
+     * @param integer $limit
139 142
      */
140 143
     private function getTemporaryFileContent($id, $offset, $limit) {
141 144
         $file = $this->getFile($id);
@@ -150,6 +153,7 @@  discard block
 block discarded – undo
150 153
 
151 154
     /**
152 155
      * @throws 404
156
+     * @param integer $id
153 157
      */
154 158
     private function getTemporaryFileSize($id) {
155 159
         return $this->getFile($id)->getSize();
@@ -352,6 +356,10 @@  discard block
 block discarded – undo
352 356
         Header::sendMaxFileChunkSizeHeaders(FileManager::getMaximumChunkSize());
353 357
     }
354 358
 
359
+    /**
360
+     * @param integer $limit
361
+     * @param integer $offset
362
+     */
355 363
     private function sendPaginationHeaders($limit, $offset, $size) {
356 364
         Header::sendPaginationHeaders($limit, $offset, $size, FileManager::getMaximumChunkSize());
357 365
     }
@@ -359,7 +367,7 @@  discard block
 block discarded – undo
359 367
     /**
360 368
      * @param int $fileinfo_id
361 369
      *
362
-     * @return Tracker_Artifact
370
+     * @return \Tracker_Artifact|null
363 371
      */
364 372
     private function getArtifactByFileInfoId($fileinfo_id) {
365 373
         try {
@@ -376,6 +384,9 @@  discard block
 block discarded – undo
376 384
         }
377 385
     }
378 386
 
387
+    /**
388
+     * @param string $id
389
+     */
379 390
     private function removeTemporaryFile($id) {
380 391
         $file = $this->getFile($id);
381 392
         $this->file_manager->removeTemporaryFile($file);
@@ -389,6 +400,7 @@  discard block
 block discarded – undo
389 400
 
390 401
     /**
391 402
      * @throws 406
403
+     * @param integer $limit
392 404
      */
393 405
     private function checkLimitValue($limit) {
394 406
         if ($limit > self::DEFAULT_LIMIT) {
Please login to merge, or discard this patch.
plugins/tracker/include/REST/v1/ProjectTrackersResource.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -65,6 +65,9 @@
 block discarded – undo
65 65
         $this->sendAllowHeaders();
66 66
     }
67 67
 
68
+    /**
69
+     * @param integer $size
70
+     */
68 71
     private function sendPaginationHeaders($limit, $offset, $size) {
69 72
         header('X-PAGINATION-LIMIT: '. $limit);
70 73
         header('X-PAGINATION-OFFSET: '. $offset);
Please login to merge, or discard this patch.
plugins/tracker/include/REST/v1/ReportsResource.class.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      *
78 78
      * @param int $id Id of the report
79 79
      *
80
-     * @return Tuleap\Tracker\REST\ReportRepresentation
80
+     * @return ReportRepresentation
81 81
      */
82 82
     public function getId($id) {
83 83
         $this->checkAccess();
@@ -167,6 +167,7 @@  discard block
 block discarded – undo
167 167
     }
168 168
 
169 169
     /**
170
+     * @param boolean $with_all_field_values
170 171
      * @return Tuleap\Tracker\REST\Artifact\ArtifactRepresentation[]
171 172
      */
172 173
     private function getListOfArtifactRepresentation(PFUser $user, $artifacts, $with_all_field_values) {
@@ -195,7 +196,8 @@  discard block
 block discarded – undo
195 196
         return array_values(array_filter($list_of_artifact_representation));
196 197
     }
197 198
 
198
-    /** @return Tracker_Report */
199
+    /** @param integer $id
200
+/** @return \Tracker_Report */
199 201
     private function getReportById(\PFUser $user, $id) {
200 202
         $store_in_session = false;
201 203
         $report = Tracker_ReportFactory::instance()->getReportById(
@@ -218,6 +220,9 @@  discard block
 block discarded – undo
218 220
         return $report;
219 221
     }
220 222
 
223
+    /**
224
+     * @param integer $limit
225
+     */
221 226
     private function checkLimitValue($limit) {
222 227
         if ($limit > self::MAX_LIMIT) {
223 228
             throw new LimitOutOfBoundsException(self::MAX_LIMIT);
Please login to merge, or discard this patch.
plugins/tracker/include/REST/v1/TrackersResource.class.php 1 patch
Doc Comments   +10 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      *
114 114
      * @param int $id Id of the tracker
115 115
      *
116
-     * @return Tuleap\Tracker\REST\TrackerRepresentation
116
+     * @return \Tuleap\Tracker\REST\TrackerRepresentation
117 117
      */
118 118
     public function getId($id) {
119 119
         $this->checkAccess();
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
      * @param string $order By default the artifacts are returned by Artifact ID ASC. Set this parameter to either ASC or DESC
212 212
      *                      <b>Does not work with the query parameter</b> {@from path}{@choice asc,desc}
213 213
      *
214
-     * @return array {@type Tuleap\Tracker\REST\Artifact\ArtifactRepresentation}
214
+     * @return Tuleap\Tracker\REST\Artifact\ArtifactRepresentation[] {@type Tuleap\Tracker\REST\Artifact\ArtifactRepresentation}
215 215
      * @throws RestException 400
216 216
      */
217 217
     public function getArtifacts(
@@ -256,6 +256,9 @@  discard block
 block discarded – undo
256 256
 
257 257
     /**
258 258
      * @throws RestException 400
259
+     * @param string $query
260
+     * @param integer $offset
261
+     * @param integer $limit
259 262
      */
260 263
     private function getArtifactsMatchingQuery(PFUser $user, Tracker $tracker, $query, $offset, $limit) {
261 264
         $report = new Tracker_Report_REST(
@@ -287,6 +290,7 @@  discard block
 block discarded – undo
287 290
     }
288 291
 
289 292
     /**
293
+     * @param boolean $with_all_field_values
290 294
      * @return Tuleap\Tracker\REST\Artifact\ArtifactRepresentation[]
291 295
      */
292 296
     private function getListOfArtifactRepresentation(PFUser $user, $artifacts, $with_all_field_values) {
@@ -363,6 +367,7 @@  discard block
 block discarded – undo
363 367
     }
364 368
 
365 369
     /**
370
+     * @param integer $id
366 371
      * @return Tracker
367 372
      * @throws RestException
368 373
      */
@@ -404,6 +409,9 @@  discard block
 block discarded – undo
404 409
         Header::allowOptionsGet();
405 410
     }
406 411
 
412
+    /**
413
+     * @param integer $limit
414
+     */
407 415
     private function checkLimitValue($limit) {
408 416
         if ($limit > self::MAX_LIMIT) {
409 417
             throw new LimitOutOfBoundsException(self::MAX_LIMIT);
Please login to merge, or discard this patch.
plugins/tracker/include/REST/WorkflowRepresentation.class.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -44,6 +44,10 @@
 block discarded – undo
44 44
      */
45 45
     public $transitions = array();
46 46
 
47
+    /**
48
+     * @param integer $id
49
+     * @param boolean $is_used
50
+     */
47 51
     public function build($id, $is_used, WorkflowRulesRepresentation $rules, array $transitions) {
48 52
         $this->field_id    = JsonCast::toInt($id);
49 53
         $this->is_used     = $is_used;
Please login to merge, or discard this patch.