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 ( 7a10f1...c2f16b )
by
unknown
76:46
created
plugins/ldap/include/LDAP.class.php 1 patch
Doc Comments   +23 added lines, -2 removed lines patch added patch discarded remove patch
@@ -129,6 +129,11 @@  discard block
 block discarded – undo
129 129
         }
130 130
     }
131 131
 
132
+    /**
133
+     * @param string $servers
134
+     * @param string $binddn
135
+     * @param string $bindpwd
136
+     */
132 137
     private function authenticatedBindConnect($servers, $binddn, $bindpwd) {
133 138
         $ds = false;
134 139
         foreach (split('[,;]', $servers) as $ldap_server) {
@@ -332,7 +337,7 @@  discard block
 block discarded – undo
332 337
      * Search a specific Distinguish Name
333 338
      *
334 339
      * @param String $dn         DN to retreive
335
-     * @param Array  $attributes Restrict the LDAP fields to fetch
340
+     * @param string[]  $attributes Restrict the LDAP fields to fetch
336 341
      * 
337 342
      * @return LDAPResultIterator
338 343
      */
@@ -438,7 +443,7 @@  discard block
 block discarded – undo
438 443
      * @param String   $name      Name of the group to look for
439 444
      * @param Integer  $sizeLimit Limit the amount of result sent
440 445
      * 
441
-     * @return LDAPResultIterator
446
+     * @return AppendIterator
442 447
      */
443 448
     function searchUserAsYouType($name, $sizeLimit, $validEmail=false) {
444 449
         $apIt  = new AppendIterator();
@@ -529,6 +534,9 @@  discard block
 block discarded – undo
529 534
         }
530 535
     }
531 536
 
537
+    /**
538
+     * @param string $dn
539
+     */
532 540
     public function add($dn, array $info) {
533 541
         $ds = $this->getWriteConnexion();
534 542
         if (@ldap_add($ds, $dn, $info)) {
@@ -537,6 +545,9 @@  discard block
 block discarded – undo
537 545
         throw new LDAP_Exception_AddException(ldap_error($ds), $dn);
538 546
     }
539 547
 
548
+    /**
549
+     * @param string $dn
550
+     */
540 551
     public function update($dn, array $info) {
541 552
         $ds = $this->getWriteConnexion();
542 553
         if (@ldap_modify($ds, $dn, $info)) {
@@ -545,6 +556,9 @@  discard block
 block discarded – undo
545 556
         throw new LDAP_Exception_UpdateException(ldap_error($ds), $dn);
546 557
     }
547 558
 
559
+    /**
560
+     * @param string $dn
561
+     */
548 562
     public function delete($dn) {
549 563
         $ds = $this->getWriteConnexion();
550 564
         if (@ldap_delete($ds, $dn)) {
@@ -553,10 +567,17 @@  discard block
 block discarded – undo
553 567
         throw new LDAP_Exception_DeleteException(ldap_error($ds), $dn);
554 568
     }
555 569
 
570
+    /**
571
+     * @param string $old_dn
572
+     * @param string $new_root_dn
573
+     */
556 574
     public function renameUser($old_dn, $new_root_dn) {
557 575
         return $this->rename($old_dn, $new_root_dn, $this->getLDAPParam('write_people_dn'));
558 576
     }
559 577
 
578
+    /**
579
+     * @param string $newparent
580
+     */
560 581
     private function rename($old_dn, $newrdn, $newparent) {
561 582
         $ds = $this->getWriteConnexion();
562 583
         if (@ldap_rename($ds, $old_dn, $newrdn, $newparent, true)) {
Please login to merge, or discard this patch.
plugins/ldap/include/LDAP_CleanUpManager.class.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@  discard block
 block discarded – undo
28 28
      */
29 29
     private $retentionPeriod;
30 30
 
31
+    /**
32
+     * @param string $period
33
+     */
31 34
     public function __construct($period) {
32 35
         $this->retentionPeriod = $period;
33 36
     }
@@ -112,8 +115,9 @@  discard block
 block discarded – undo
112 115
      * Retrieve a collection of active projects of a given user
113 116
      *
114 117
      * @param Integer userId
118
+     * @param PFUser $userId
115 119
      *
116
-     * @return Array
120
+     * @return Project[]
117 121
      */
118 122
     private function getUserProjects($userId) {
119 123
         $pm = $this->_getProjectManager();
Please login to merge, or discard this patch.
plugins/ldap/include/LDAP_DirectoryCleanUpDao.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,8 @@  discard block
 block discarded – undo
32 32
      * @param Integer userId
33 33
      *
34 34
      * @param Integer deletionDate date on which suspended user will be deleted
35
+     * @param integer $userId
36
+     * @param double $deletionDate
35 37
      *
36 38
      * @return Boolean
37 39
      */
@@ -47,6 +49,7 @@  discard block
 block discarded – undo
47 49
      * @param Integer userId
48 50
      *
49 51
      * @param Integer deletionDate
52
+     * @param integer $userId
50 53
      *
51 54
      * @return Boolean
52 55
      */
Please login to merge, or discard this patch.
plugins/ldap/include/LDAP_DirectorySynchronization.class.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -148,6 +148,8 @@  discard block
 block discarded – undo
148 148
     /**
149 149
      * Wrapper for LDAP_SyncReminderNotificationManager object
150 150
      *
151
+     * @param ProjectManager $projectManager
152
+     * @param UserManager $userManager
151 153
      * @return LDAP_SyncReminderNotificationManager
152 154
      */
153 155
     protected function getLdapSyncReminderNotificationManager($projectManager, $userManager) {
@@ -173,6 +175,9 @@  discard block
 block discarded – undo
173 175
         return LDAP_UserSync::instance();
174 176
     }
175 177
 
178
+    /**
179
+     * @param string $retentionPeriod
180
+     */
176 181
     protected function getLdapSyncNotificationManager(ProjectManager $projectManager, $retentionPeriod){
177 182
         return new LDAP_SyncNotificationManager($projectManager, $retentionPeriod);
178 183
     }
Please login to merge, or discard this patch.
plugins/ldap/include/LDAP_ProjectDao.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -75,6 +75,9 @@
 block discarded – undo
75 75
         $this->update($sql);
76 76
     }
77 77
 
78
+    /**
79
+     * @param string $groupName
80
+     */
78 81
     function hasLdapAuthByName($groupName) {
79 82
         $sql = 'SELECT NULL'.
80 83
             ' FROM plugin_ldap_svn_repository'.
Please login to merge, or discard this patch.
plugins/ldap/include/LDAP_ProjectGroupManager.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      *
63 63
      * @param Integer $groupId Id of project
64 64
      *
65
-     * @return Array
65
+     * @return integer
66 66
      */
67 67
     protected function getDbGroupMembersIds($groupId)
68 68
     {
Please login to merge, or discard this patch.
plugins/ldap/include/LDAP_SearchPeople.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -75,6 +75,9 @@
 block discarded – undo
75 75
         return new LDAP_SearchPeopleResultPresenter($ldap_result->getCommonName(), PFUser::DEFAULT_AVATAR_URL, $directory_uri);
76 76
     }
77 77
 
78
+    /**
79
+     * @param string $value
80
+     */
78 81
     private function buildLinkToDirectory(LDAPResult $lr, $value) {
79 82
         include_once($GLOBALS['Language']->getContent('directory_redirect', 'en_US', 'ldap'));
80 83
         if(function_exists('custom_build_link_to_directory')) {
Please login to merge, or discard this patch.
plugins/ldap/include/LDAP_SyncMail.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
      *
35 35
      * @param PFUser $user Suspended user after LDAP daily synchro
36 36
      *
37
-     * @return Array
37
+     * @return Project[]
38 38
      */
39 39
     private function getProjectsForUser(PFUser $user) {
40 40
         return $this->projectManager->getActiveProjectsForUser($user);
Please login to merge, or discard this patch.
plugins/ldap/include/LDAP_UserGroupDao.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -136,6 +136,9 @@
 block discarded – undo
136 136
         return db_fetch_array($res);
137 137
     }
138 138
     
139
+    /**
140
+     * @param integer $id
141
+     */
139 142
     function getMembersId($id)
140 143
     {
141 144
         include_once 'www/project/admin/ugroup_utils.php';
Please login to merge, or discard this patch.