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
include/Tracker/CannedResponse/dao/Tracker_CannedResponseDao.class.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -24,6 +24,10 @@  discard block
 block discarded – undo
24 24
         $this->table_name = 'tracker_canned_response';
25 25
     }
26 26
     
27
+    /**
28
+     * @param integer $tracker_id
29
+     * @param integer $id
30
+     */
27 31
     public function searchById($tracker_id, $id) {
28 32
         $tracker_id = $this->da->escapeInt($tracker_id);
29 33
         $id = $this->da->escapeInt($id);
@@ -34,6 +38,9 @@  discard block
 block discarded – undo
34 38
         return $this->retrieve($sql);
35 39
     }
36 40
     
41
+    /**
42
+     * @param integer $tracker_id
43
+     */
37 44
     public function searchByTrackerId($tracker_id) {
38 45
         $tracker_id = $this->da->escapeInt($tracker_id);
39 46
         $sql = "SELECT * 
@@ -43,6 +50,11 @@  discard block
 block discarded – undo
43 50
         return $this->retrieve($sql);
44 51
     }
45 52
     
53
+    /**
54
+     * @param integer $tracker_id
55
+     * @param string $title
56
+     * @param string $body
57
+     */
46 58
     public function create($tracker_id, $title, $body) {
47 59
         $tracker_id = $this->da->escapeInt($tracker_id);
48 60
         $title      = $this->da->quoteSmart($title);
@@ -52,6 +64,9 @@  discard block
 block discarded – undo
52 64
         return $this->updateAndGetLastId($sql);
53 65
     }
54 66
     
67
+    /**
68
+     * @param Tracker_CannedResponse $canned
69
+     */
55 70
     public function save($canned) {
56 71
         $id         = $this->da->escapeInt($canned->id);
57 72
         $title      = $this->da->quoteSmart($canned->title);
@@ -63,6 +78,9 @@  discard block
 block discarded – undo
63 78
         return $this->update($sql);
64 79
     }
65 80
     
81
+    /**
82
+     * @param integer $id
83
+     */
66 84
     public function delete($id) {
67 85
         $id = $this->da->escapeInt($id);
68 86
         $sql = "DELETE FROM $this->table_name 
Please login to merge, or discard this patch.
include/Tracker/CannedResponse/Tracker_CannedResponseFactory.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     /**
36 36
      * The singleton method
37 37
      *
38
-     * @return Tracker_ResponseFactory An instance of canned response factory
38
+     * @return Tracker_CannedResponseFactory An instance of canned response factory
39 39
      */
40 40
     public static function instance() {
41 41
         if (!isset(self::$instance)) {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * @param Tracker $tracker the tracker
93 93
      * @param int     $id      the id of the canned response
94 94
      *
95
-     * @return CannedResponse or null if not found
95
+     * @return Tracker_CannedResponse|null or null if not found
96 96
      */
97 97
     public function getCannedResponse($tracker, $id) {
98 98
         $response = null;
Please login to merge, or discard this patch.
include/Tracker/CannedResponse/Tracker_CannedResponseManager.class.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -20,10 +20,18 @@
 block discarded – undo
20 20
 
21 21
 class Tracker_CannedResponseManager {
22 22
     protected $tracker;
23
+
24
+    /**
25
+     * @param Tracker $tracker
26
+     */
23 27
     public function __construct($tracker) {
24 28
         $this->tracker = $tracker;
25 29
     }
26 30
     
31
+    /**
32
+     * @param Codendi_Request $request
33
+     * @param PFUser $current_user
34
+     */
27 35
     public function process(TrackerManager $tracker_manager, $request, $current_user) {
28 36
         if ($request->get('create')) {
29 37
             if ($request->existAndNonEmpty('title') && $request->existAndNonEmpty('body')) {
Please login to merge, or discard this patch.
plugins/tracker/include/Tracker/CardPresenter.class.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * @var string
33
+     * @return string
33 34
      */
34 35
     public function getTitle();
35 36
     
@@ -40,26 +41,31 @@  discard block
 block discarded – undo
40 41
 
41 42
     /**
42 43
      * @var string
44
+     * @return string
43 45
      */
44 46
     public function getUrl();
45 47
 
46 48
     /**
47 49
      * @var string
50
+     * @return string
48 51
      */
49 52
     public function getXRef();
50 53
 
51 54
     /**
52 55
      * @var string
56
+     * @return string
53 57
      */
54 58
     public function getEditUrl();
55 59
 
56 60
     /**
57 61
      * @var string
62
+     * @return integer
58 63
      */
59 64
     public function getArtifactId();
60 65
 
61 66
     /**
62 67
      * @var int
68
+     * @return integer
63 69
      */
64 70
     public function getAncestorId();
65 71
 
@@ -75,11 +81,13 @@  discard block
 block discarded – undo
75 81
 
76 82
     /**
77 83
      * @var string
84
+     * @return string
78 85
      */
79 86
     public function getCssClasses();
80 87
 
81 88
     /**
82 89
      * @var array of Tracker
90
+     * @return Tracker[]
83 91
      */
84 92
     public function allowedChildrenTypes();
85 93
 
Please login to merge, or discard this patch.
plugins/tracker/include/Tracker/Chart/Burndown.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@
 block discarded – undo
53 53
         $this->start_date = round($start_date / self::SECONDS_IN_A_DAY);
54 54
     }
55 55
     
56
+    /**
57
+     * @param integer $start_date
58
+     */
56 59
     public function setStartDateInDays($start_date) {
57 60
         $this->start_date = $start_date;
58 61
     }
Please login to merge, or discard this patch.
plugins/tracker/include/Tracker/Chart/Data/Burndown.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -149,6 +149,9 @@
 block discarded – undo
149 149
         return $value !== null;
150 150
     }
151 151
 
152
+    /**
153
+     * @param integer $i
154
+     */
152 155
     private function getIdealEffortAtDay($i, $start_effort) {
153 156
         if ($start_effort !== null) {
154 157
             return floatval(($this->getDuration() - $i) * ($start_effort / $this->getDuration()));
Please login to merge, or discard this patch.
plugins/tracker/include/Tracker/dao/Tracker_FileInfoDao.class.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -57,6 +57,13 @@  discard block
 block discarded – undo
57 57
         return false;
58 58
     }
59 59
 
60
+    /**
61
+     * @param integer $submitted_by
62
+     * @param string $description
63
+     * @param string $filename
64
+     * @param integer $filesize
65
+     * @param string $filetype
66
+     */
60 67
     public function create($submitted_by, $description, $filename, $filesize, $filetype) {
61 68
         $submitted_by = $this->da->escapeInt($submitted_by);
62 69
         $description  = $this->da->quoteSmart($description);
@@ -85,6 +92,9 @@  discard block
 block discarded – undo
85 92
         return $this->retrieve($sql);
86 93
     }
87 94
 
95
+    /**
96
+     * @param integer $id
97
+     */
88 98
     public function searchArtifactIdByFileInfoId($id) {
89 99
         $id = $this->da->escapeInt($id);
90 100
         $sql = "SELECT DISTINCT c.artifact_id as artifact_id, cv.field_id as field_id
Please login to merge, or discard this patch.
plugins/tracker/include/Tracker/dao/Tracker_PermDao.class.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@  discard block
 block discarded – undo
25 25
         $this->table_name = 'tracker_perm';
26 26
     }
27 27
 
28
+    /**
29
+     * @param integer $tracker_id
30
+     */
28 31
     function searchByUserIdAndTrackerId($user_id, $tracker_id) {
29 32
         $user_id      = $this->da->escapeInt($user_id);
30 33
         $tracker_id      = $this->da->escapeInt($tracker_id);
@@ -36,6 +39,9 @@  discard block
 block discarded – undo
36 39
         return $this->retrieve($sql);
37 40
     }
38 41
     
42
+    /**
43
+     * @param integer $tracker_id
44
+     */
39 45
     function updateUser($user_id, $perm_level, $tracker_id) {
40 46
         $user_id        = $this->da->escapeInt($user_id);
41 47
         $perm_level     = $this->da->escapeInt($perm_level);
@@ -48,6 +54,9 @@  discard block
 block discarded – undo
48 54
         return $this->update($sql);
49 55
     }
50 56
     
57
+    /**
58
+     * @param integer $tracker_id
59
+     */
51 60
     function createUser($user_id, $perm_level, $tracker_id) {
52 61
         $user_id = $this->da->escapeInt($user_id);
53 62
         $perm_level = $this->da->escapeInt($perm_level);
@@ -59,6 +68,9 @@  discard block
 block discarded – undo
59 68
         return $this->update($sql);
60 69
     }
61 70
     
71
+    /**
72
+     * @param integer $tracker_id
73
+     */
62 74
     function deleteUser($user_id, $tracker_id) {
63 75
         $user_id    = $this->da->escapeInt($user_id);
64 76
         $tracker_id = $this->da->escapeInt($tracker_id);
@@ -67,6 +79,9 @@  discard block
 block discarded – undo
67 79
         return $this->update($sql);
68 80
     }
69 81
     
82
+    /**
83
+     * @param integer $tracker_id
84
+     */
70 85
     function searchAccessPermissionsByTrackerId($tracker_id) {
71 86
         $tracker_id = $this->da->escapeInt($tracker_id);
72 87
         
Please login to merge, or discard this patch.
plugins/tracker/include/Tracker/dao/TrackerDao.class.php 1 patch
Doc Comments   +24 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     * Check if the shortname of the tracker is already used in the project
68 68
     * @param string $item_name the shortname of the tracker we are looking for
69 69
     * @param int $group_id the ID of the group
70
-    * @return boolean
70
+    * @return integer
71 71
     */
72 72
     public function isShortNameExists($item_name, $group_id) {
73 73
         $item_name = $this->da->quoteSmart($item_name);
@@ -107,6 +107,13 @@  discard block
 block discarded – undo
107 107
         }
108 108
     }
109 109
 
110
+    /**
111
+     * @param integer $atid_template
112
+     * @param Project $group_id
113
+     * @param string $name
114
+     * @param string $description
115
+     * @param string $item_name
116
+     */
110 117
     function duplicate($atid_template, $group_id, $name, $description, $item_name) {
111 118
         $atid_template = $this->da->escapeInt($atid_template);
112 119
         $group_id      = $this->da->escapeInt($group_id);
@@ -155,6 +162,19 @@  discard block
 block discarded – undo
155 162
         return false;
156 163
     }
157 164
 
165
+    /**
166
+     * @param integer $group_id
167
+     * @param string $name
168
+     * @param string $description
169
+     * @param string $item_name
170
+     * @param integer $allow_copy
171
+     * @param string $status
172
+     * @param string $deletion_date
173
+     * @param integer $instantiate_for_new_projects
174
+     * @param integer $log_priority_changes
175
+     * @param string $color
176
+     * @param integer $enable_emailgateway
177
+     */
158 178
     function create(
159 179
         $group_id,
160 180
         $name,
@@ -277,6 +297,9 @@  discard block
 block discarded – undo
277 297
         return $this->update($sql);
278 298
     }
279 299
 
300
+    /**
301
+     * @param string $restriction_clause
302
+     */
280 303
     private function restrict($restriction_clause, $excluded_tracker_ids) {
281 304
         if (!$excluded_tracker_ids) {
282 305
             return "";
Please login to merge, or discard this patch.