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
Branch backup-engines (5ef525)
by Tom
02:44
created
classes/backup/class-site-backup.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@  discard block
 block discarded – undo
72 72
 
73 73
 	}
74 74
 
75
+	/**
76
+	 * @param string $type
77
+	 */
75 78
 	public function set_type( $type ) {
76 79
 		$this->type = $type;
77 80
 	}
@@ -80,10 +83,16 @@  discard block
 block discarded – undo
80 83
 		$this->excludes = $excludes;
81 84
 	}
82 85
 
86
+	/**
87
+	 * @param string $filename
88
+	 */
83 89
 	public function set_database_dump_filename( $filename ) {
84 90
 		$this->database_dump_filename = $filename;
85 91
 	}
86 92
 
93
+	/**
94
+	 * @param string $filename
95
+	 */
87 96
 	public function set_backup_filename( $filename ) {
88 97
 		$this->backup_filename = $filename;
89 98
 	}
Please login to merge, or discard this patch.
classes/class-backup.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -221,6 +221,9 @@  discard block
 block discarded – undo
221 221
 
222 222
 	}
223 223
 
224
+	/**
225
+	 * @param string $ini_setting
226
+	 */
224 227
 	protected static function is_function_disabled( $ini_setting ) {
225 228
 
226 229
 		if ( array_intersect( array(
@@ -442,7 +445,7 @@  discard block
 block discarded – undo
442 445
 	 *
443 446
 	 * @param string $existing_archive_filepath
444 447
 	 *
445
-	 * @return null
448
+	 * @return \WP_Error|null
446 449
 	 */
447 450
 	public function set_existing_archive_filepath( $existing_archive_filepath ) {
448 451
 
@@ -1370,6 +1373,7 @@  discard block
 block discarded – undo
1370 1373
 	/**
1371 1374
 	 * Get the errors
1372 1375
 	 *
1376
+	 * @param string $context
1373 1377
 	 */
1374 1378
 	public function get_errors( $context = null ) {
1375 1379
 
@@ -1385,7 +1389,7 @@  discard block
 block discarded – undo
1385 1389
 	 * Add an error to the errors stack
1386 1390
 	 *
1387 1391
 	 * @param string $context
1388
-	 * @param mixed $error
1392
+	 * @param string $error
1389 1393
 	 */
1390 1394
 	public function error( $context, $error ) {
1391 1395
 
@@ -1402,7 +1406,7 @@  discard block
 block discarded – undo
1402 1406
 	/**
1403 1407
 	 * Migrate errors to warnings
1404 1408
 	 *
1405
-	 * @param null $context
1409
+	 * @param string $context
1406 1410
 	 */
1407 1411
 	private function errors_to_warnings( $context = null ) {
1408 1412
 
Please login to merge, or discard this patch.
classes/class-path.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 	/**
138 138
 	 * Set the path directly, overriding the default
139 139
 	 *
140
-	 * @param $path
140
+	 * @param boolean $path
141 141
 	 */
142 142
 	public function set_path( $path ) {
143 143
 
@@ -363,7 +363,6 @@  discard block
 block discarded – undo
363 363
 	 * Move backup files from an existing directory and the new
364 364
 	 * location
365 365
 	 *
366
-	 * @param string $path 	The path to move the backups from
367 366
 	 */
368 367
 	public function move_old_backups( $from ) {
369 368
 
Please login to merge, or discard this patch.
classes/class-requirement.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,14 +19,14 @@  discard block
 block discarded – undo
19 19
 	abstract protected function test();
20 20
 
21 21
 	/**
22
-	 * @return mixed
22
+	 * @return string
23 23
 	 */
24 24
 	public function name() {
25 25
 		return $this->name;
26 26
 	}
27 27
 
28 28
 	/**
29
-	 * @return mixed|string
29
+	 * @return string
30 30
 	 */
31 31
 	public function result() {
32 32
 
@@ -524,7 +524,7 @@  discard block
 block discarded – undo
524 524
 	var $name = 'WP Cron Test Failed';
525 525
 
526 526
 	/**
527
-	 * @return mixed
527
+	 * @return boolean
528 528
 	 */
529 529
 	protected function test() {
530 530
 		return (bool) get_option( 'hmbkp_wp_cron_test_failed' );
Please login to merge, or discard this patch.
classes/class-site-size.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@  discard block
 block discarded – undo
53 53
 	/**
54 54
 	 * Convenience function to format the file size
55 55
 	 *
56
-	 * @param bool $cached
57 56
 	 *
58 57
 	 * @return bool|string
59 58
 	 */
@@ -64,7 +63,7 @@  discard block
 block discarded – undo
64 63
 	/**
65 64
 	 * Whether the total filesize is being calculated
66 65
 	 *
67
-	 * @return int            The total of the file or directory
66
+	 * @return boolean            The total of the file or directory
68 67
 	 */
69 68
 	public static function is_site_size_being_calculated() {
70 69
 		return false !== get_transient( 'hmbkp_directory_filesizes_running' );
Please login to merge, or discard this patch.
classes/class-schedule.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 	/**
167 167
 	 * Set the exclude rules
168 168
 	 *
169
-	 * @param mixed $excludes A comma separated list or array of exclude rules
169
+	 * @param mixed $exclude_rules A comma separated list or array of exclude rules
170 170
 	 * @param bool $append Whether to replace or append to existing rules
171 171
 	 *
172 172
 	 * @return string
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
 	 * Get the array of services options for this schedule
209 209
 	 *
210 210
 	 * @param      $service
211
-	 * @param null $option
211
+	 * @param string $option
212 212
 	 *
213 213
 	 * @return array
214 214
 	 */
@@ -285,6 +285,7 @@  discard block
 block discarded – undo
285 285
 	/**
286 286
 	 * Get the schedule reoccurrence
287 287
 	 *
288
+	 * @return string
288 289
 	 */
289 290
 	public function get_reoccurrence() {
290 291
 		return $this->options['reoccurrence'];
@@ -661,6 +662,8 @@  discard block
 block discarded – undo
661 662
 	 * Calculate schedule run time.
662 663
 	 *
663 664
 	 * @param int Timestamp $end
665
+	 * @param integer $start
666
+	 * @param integer $end
664 667
 	 */
665 668
 	public function update_average_schedule_run_time( $start, $end ) {
666 669
 
Please login to merge, or discard this patch.
classes/backup/class-backup-engine-database-mysqldump.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
 	/**
178 178
 	 * Get the connection args for the mysqldump command
179 179
 	 *
180
-	 * @return array The array of connection args
180
+	 * @return string[] The array of connection args
181 181
 	 */
182 182
 	public function get_mysql_connection_args() {
183 183
 
Please login to merge, or discard this patch.
classes/backup/class-backup-engine.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,6 @@
 block discarded – undo
141 141
 	 * issues with the backup process.
142 142
 	 *
143 143
 	 * @param  string $context The context for the warning.
144
-	 * @param  string $error   The warning that was encountered.
145 144
 	 */
146 145
 	private function warning( $context, $warning ) {
147 146
 
Please login to merge, or discard this patch.
classes/backup/class-backup-utilities.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 	/**
92 92
 	 * Attempt to work out path to a cli executable.
93 93
 	 *
94
-	 * @param  array $paths An array of paths to check against.
94
+	 * @param  string[] $paths An array of paths to check against.
95 95
 	 *
96 96
 	 * @return string|false        The path to the executable.
97 97
 	 */
Please login to merge, or discard this patch.