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
mediawiki/db/mysql/updates/2014/20140805_add_admin_options_table.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -52,6 +52,10 @@
 block discarded – undo
52 52
         $this->execDB($sql, 'An error occured while adding plugin_mediawiki_admin_options table: ');
53 53
     }
54 54
 
55
+    /**
56
+     * @param string $sql
57
+     * @param string $message
58
+     */
55 59
     private function execDB($sql, $message) {
56 60
         $res = $this->db->dbh->exec($sql);
57 61
         if ($res === false) {
Please login to merge, or discard this patch.
plugins/mediawiki/include/MediawikiDao.class.php 1 patch
Doc Comments   +30 added lines patch added patch discarded remove patch
@@ -96,6 +96,9 @@  discard block
 block discarded – undo
96 96
         return $this->update($sql);
97 97
     }
98 98
 
99
+    /**
100
+     * @param string $escaped_user_id
101
+     */
99 102
     private function removeAllUserGroups($escaped_user_id, $database_name) {
100 103
         $sql = "DELETE
101 104
                 FROM $database_name.mwuser_groups
@@ -204,6 +207,9 @@  discard block
 block discarded – undo
204 207
         return $this->retrieve($sql);
205 208
     }
206 209
 
210
+    /**
211
+     * @param Group $project
212
+     */
207 213
     public function getAllMediawikiGroups($project) {
208 214
         $group_id = $this->da->escapeInt($project->getID());
209 215
 
@@ -214,6 +220,9 @@  discard block
 block discarded – undo
214 220
         return $this->retrieve($sql);
215 221
     }
216 222
 
223
+    /**
224
+     * @param integer $group_id
225
+     */
217 226
     public function deleteUserGroup($group_id, $ugroup_id) {
218 227
         $group_id  = $this->da->escapeInt($group_id);
219 228
         $ugroup_id = $this->da->escapeInt($ugroup_id);
@@ -255,6 +264,9 @@  discard block
 block discarded – undo
255 264
                               WHERE $database_name.mwuser.user_name = $user_name");
256 265
     }
257 266
 
267
+    /**
268
+     * @param string $group_id
269
+     */
258 270
     private function feedMediawikiUserGroupsWithTuleapMapping($database_name, $group_id, $forge_user_id) {
259 271
         $sql = "
260 272
             INSERT INTO $database_name.mwuser_groups(ug_user, ug_group)
@@ -383,6 +395,9 @@  discard block
 block discarded – undo
383 395
         return $this->update($sql);
384 396
     }
385 397
 
398
+    /**
399
+     * @param integer $project_id
400
+     */
386 401
     public function updateDatabaseName($project_id, $db_name) {
387 402
         $project_id = $this->da->escapeInt($project_id);
388 403
 
@@ -421,6 +436,9 @@  discard block
 block discarded – undo
421 436
         return $this->getMediawikiDatabaseName($project, false);
422 437
     }
423 438
 
439
+    /**
440
+     * @param integer $project_id
441
+     */
424 442
     public function getCompatibilityViewUsage($project_id) {
425 443
         $project_id = $this->da->escapeInt($project_id);
426 444
 
@@ -447,6 +465,9 @@  discard block
 block discarded – undo
447 465
         return $this->update($sql);
448 466
     }
449 467
 
468
+    /**
469
+     * @param integer $project_id
470
+     */
450 471
     public function getAccessControl($project_id, $access) {
451 472
         $project_id = $this->da->escapeInt($project_id);
452 473
         $access     = $this->da->quoteSmart($access);
@@ -459,6 +480,9 @@  discard block
 block discarded – undo
459 480
         return $this->retrieve($sql);
460 481
     }
461 482
 
483
+    /**
484
+     * @param integer $project_id
485
+     */
462 486
     public function saveAccessControl($project_id, $access, array $ugroup_ids) {
463 487
         $this->da->startTransaction();
464 488
 
@@ -501,6 +525,9 @@  discard block
 block discarded – undo
501 525
         return $result;
502 526
     }
503 527
 
528
+    /**
529
+     * @param integer $project_id
530
+     */
504 531
     public function disableAnonymousRegisteredAuthenticated($project_id) {
505 532
         return $this->updateAccessControl(
506 533
             $project_id,
@@ -509,6 +536,9 @@  discard block
 block discarded – undo
509 536
         );
510 537
     }
511 538
 
539
+    /**
540
+     * @param integer $project_id
541
+     */
512 542
     public function disableAuthenticated($project_id) {
513 543
         return $this->updateAccessControl(
514 544
             $project_id,
Please login to merge, or discard this patch.
plugins/mediawiki/include/MediawikiInstantiater.class.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     private $version_manager;
64 64
 
65 65
     /**
66
-     * @param Project|string $project
66
+     * @param Project $project
67 67
      * @param MediawikiManager $mediawiki_manager
68 68
      * @param MediawikiLanguageManager $language_manager
69 69
      * @param MediawikiVersionManager $version_manager
@@ -187,6 +187,9 @@  discard block
 block discarded – undo
187 187
 
188 188
     }
189 189
 
190
+    /**
191
+     * @param string $db_name
192
+     */
190 193
     private function ensureDatabaseIsCorrect($db_name) {
191 194
         $this->dao->updateDatabaseName($this->project_id, $db_name);
192 195
     }
@@ -290,6 +293,9 @@  discard block
 block discarded – undo
290 293
         }
291 294
     }
292 295
 
296
+    /**
297
+     * @param integer $group_id
298
+     */
293 299
     private function seedProjectUGroupMappings($group_id, array $mappings) {
294 300
         $query  = "INSERT INTO plugin_mediawiki_ugroup_mapping(group_id, ugroup_id, mw_group_name) VALUES ";
295 301
 
Please login to merge, or discard this patch.
plugins/mediawiki/include/MediawikiLanguageDao.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
 
22 22
  class MediawikiLanguageDao extends DataAccessObject {
23 23
 
24
+     /**
25
+      * @param integer $project_id
26
+      */
24 27
      public function getUsedLanguageForProject($project_id) {
25 28
          $project_id = $this->da->escapeInt($project_id);
26 29
 
@@ -31,6 +34,9 @@  discard block
 block discarded – undo
31 34
          return $this->retrieveFirstRow($sql);
32 35
      }
33 36
 
37
+     /**
38
+      * @param integer $project_id
39
+      */
34 40
      public function updateLanguageOption($project_id, $language) {
35 41
          $project_id = $this->da->escapeInt($project_id);
36 42
          $language   = $this->da->quoteSmart($language);
Please login to merge, or discard this patch.
plugins/mediawiki/include/MediawikiManager.class.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -82,6 +82,7 @@  discard block
 block discarded – undo
82 82
     }
83 83
 
84 84
     /**
85
+     * @param string $access
85 86
      * @return array
86 87
      */
87 88
     private function getAccessControl(Project $project, $access) {
@@ -104,6 +105,9 @@  discard block
 block discarded – undo
104 105
         return $this->saveAccessControl($project, self::WRITE_ACCESS, $ugroup_ids);
105 106
     }
106 107
 
108
+    /**
109
+     * @param string $access
110
+     */
107 111
     private function saveAccessControl(Project $project, $access, array $ugroup_ids) {
108 112
         return $this->dao->saveAccessControl($project->getID(), $access, $ugroup_ids);
109 113
     }
Please login to merge, or discard this patch.
plugins/mediawiki/include/MediawikiSiteAdminResourceRestrictorDao.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
         return true;
35 35
     }
36 36
 
37
+    /**
38
+     * @param integer $resource_id
39
+     */
37 40
     public function searchAllowedProjectsOnResource($resource_id) {
38 41
         $resource_id = $this->da->escapeInt($resource_id);
39 42
         $sql = "SELECT groups.*
Please login to merge, or discard this patch.
plugins/mediawiki/include/MediawikiVersionDao.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@  discard block
 block discarded – undo
21 21
 
22 22
  class MediawikiVersionDao extends DataAccessObject {
23 23
 
24
+     /**
25
+      * @param integer $project_id
26
+      */
24 27
      public function saveMediawikiVersionForProject($project_id, $version) {
25 28
          $project_id = $this->da->escapeInt($project_id);
26 29
          $version    = $this->da->quoteSmart($version);
@@ -31,6 +34,9 @@  discard block
 block discarded – undo
31 34
          return $this->update($sql);
32 35
      }
33 36
 
37
+    /**
38
+     * @param integer $project_id
39
+     */
34 40
     public function getVersionForProject($project_id) {
35 41
         $project_id = $this->da->escapeInt($project_id);
36 42
 
Please login to merge, or discard this patch.
plugins/mediawiki/include/ServiceMediawiki.class.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,9 @@  discard block
 block discarded – undo
2 2
 
3 3
 class ServiceMediawiki extends Service {
4 4
 
5
+    /**
6
+     * @param string $template
7
+     */
5 8
     public function renderInPage(HTTPRequest $request, $title, $template, $presenter = null) {
6 9
         $this->displayHeader($request, $title);
7 10
 
@@ -34,7 +37,6 @@  discard block
 block discarded – undo
34 37
     }
35 38
 
36 39
     /**
37
-     * @param HTTPRequest $request
38 40
      * @return bool
39 41
      */
40 42
     public function userIsAdmin(PFUser $user) {
Please login to merge, or discard this patch.
plugins/openid/include/AccountManager.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      * Associate a User and an OpenId URL
35 35
      *
36 36
      * @param PFUser $user
37
-     * @param type $identity_url
37
+     * @param string $identity_url
38 38
      * @throws OpenId_IdentityUrlUpdateException
39 39
      * @throws OpenId_IdentityUrlAlreadyPairedException
40 40
      */
Please login to merge, or discard this patch.