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/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_UserGroupManager.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * @param Integer $ugroupId Codendi Group ID
53 53
      * @param Integer $userId   User ID
54 54
      *
55
-     * @return Boolean
55
+     * @return boolean|null
56 56
      */
57 57
     protected function addUserToGroup($ugroupId, $userId)
58 58
     {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      * @param Integer $ugroupId Codendi Group ID
66 66
      * @param Integer $userId   User ID
67 67
      *
68
-     * @return Boolean
68
+     * @return boolean|null
69 69
      */
70 70
     protected function removeUserFromGroup($ugroupId, $userId)
71 71
     {
Please login to merge, or discard this patch.
plugins/ldap/include/LDAP_UserManager.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * Get LDAPResult object corresponding to an LDAP ID
88 88
      *
89
-     * @param  $ldapId    The LDAP identifier
89
+     * @param  string $ldapId    The LDAP identifier
90 90
      * @return LDAPResult
91 91
      */
92 92
     function getLdapFromLdapId($ldapId) {
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
      * Return LDAP logins stored in DB corresponding to given userIds.
203 203
      * 
204 204
      * @param Array $userIds Array of user ids
205
-     * @return Array ldap logins
205
+     * @return DataAccessResult ldap logins
206 206
      */
207 207
     function getLdapLoginFromUserIds(array $userIds) {
208 208
         $dao = $this->getDao();
Please login to merge, or discard this patch.
plugins/ldap/include/LDAP_UserSync.class.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * Return the sync attributes
60 60
      * 
61
+     * @param LDAP $ldap
61 62
      * @return array
62 63
      */
63 64
     public function getSyncAttributes($ldap) {
Please login to merge, or discard this patch.
plugins/ldap/include/ldapPlugin.class.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -510,6 +510,9 @@  discard block
 block discarded – undo
510 510
         print '</TR>';
511 511
     }
512 512
 
513
+    /**
514
+     * @param LDAPResult $lr
515
+     */
513 516
     function buildLinkToDirectory(&$lr, $value='') {
514 517
         if($value === '') {
515 518
             $value = $lr->getLogin();
@@ -849,7 +852,7 @@  discard block
 block discarded – undo
849 852
      *
850 853
      * @param Array $params
851 854
      *
852
-     * @return void
855
+     * @return boolean|null
853 856
      */
854 857
     function codendi_daily_start($params) {
855 858
         if ($GLOBALS['sys_auth_type'] == 'ldap' && $this->isDailySyncEnabled()) {
Please login to merge, or discard this patch.
plugins/ldap/include/LDAPResult.class.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     /**
67 67
      * Return true if there is no entries in the result set.
68 68
      *
69
-     * @return int
69
+     * @return boolean
70 70
      */
71 71
     function isEmpty() {
72 72
         return empty($this->list);
@@ -215,6 +215,9 @@  discard block
 block discarded – undo
215 215
         return $this->get($this->ldapParams['eduid']);
216 216
     }
217 217
 
218
+    /**
219
+     * @return string|null
220
+     */
218 221
     function getDn() {
219 222
         return $this->info['dn'];
220 223
     }
Please login to merge, or discard this patch.
plugins/ldap/tests/bootstrap.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -54,6 +54,9 @@
 block discarded – undo
54 54
 
55 55
     private $expected;
56 56
 
57
+    /**
58
+     * @param string $expected_cn
59
+     */
57 60
     public function __construct($expected_cn) {
58 61
         parent::__construct();
59 62
         $this->expected = $expected_cn;
Please login to merge, or discard this patch.