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.
Passed
Branch dev (4f6bab)
by Liuta
02:57
created
restore/xcloner_restore.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
 				try {
254 254
 					unlink($_FILES['blob']['tmp_name']);
255 255
 				}catch (Exception $e) {
256
-                    //silent message
256
+					//silent message
257 257
 				}
258 258
 
259 259
 			}elseif (isset($_POST['blob'])) {
@@ -424,18 +424,18 @@  discard block
 block discarded – undo
424 424
 				
425 425
 			}
426 426
 
427
-            $return['start'] = ftell($fp);
427
+			$return['start'] = ftell($fp);
428 428
 
429
-            $this->logger->info(sprintf("Executed %s queries of size %s bytes", $line_count, ($return['start'] - $start)));
429
+			$this->logger->info(sprintf("Executed %s queries of size %s bytes", $line_count, ($return['start'] - $start)));
430 430
 
431
-            if (!feof($fp))
432
-            {
433
-                $return['finished'] = 0;
434
-            } else {
435
-                $this->logger->info(sprintf("Mysql Import Done."));
436
-            }
431
+			if (!feof($fp))
432
+			{
433
+				$return['finished'] = 0;
434
+			} else {
435
+				$this->logger->info(sprintf("Mysql Import Done."));
436
+			}
437 437
 
438
-            fclose($fp);
438
+			fclose($fp);
439 439
 		}
440 440
 		
441 441
 		$this->send_response(200, $return);
Please login to merge, or discard this patch.
includes/class-xcloner-scheduler.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -104,8 +104,8 @@  discard block
 block discarded – undo
104 104
 			$hook = 'xcloner_scheduler_'.$schedule->id;
105 105
 
106 106
 			if($timestamp = wp_next_scheduled($hook, array($schedule->id))) {
107
-                wp_unschedule_event($timestamp, $hook, array($schedule->id));
108
-            }
107
+				wp_unschedule_event($timestamp, $hook, array($schedule->id));
108
+			}
109 109
 		}
110 110
 	}
111 111
 
@@ -128,8 +128,8 @@  discard block
 block discarded – undo
128 128
 
129 129
 			} elseif (!$schedule->status) {
130 130
 				if($timestamp = wp_next_scheduled($hook, array($schedule->id))) {
131
-                    wp_unschedule_event($timestamp, $hook, array($schedule->id));
132
-                }
131
+					wp_unschedule_event($timestamp, $hook, array($schedule->id));
132
+				}
133 133
 			}
134 134
 		}
135 135
 
@@ -140,8 +140,8 @@  discard block
 block discarded – undo
140 140
 		$hook     = 'xcloner_scheduler_'.$schedule->id;
141 141
 
142 142
 		if( $timestamp = wp_next_scheduled($hook, array($schedule->id))) {
143
-            wp_unschedule_event($timestamp, $hook, array($schedule->id));
144
-        }
143
+			wp_unschedule_event($timestamp, $hook, array($schedule->id));
144
+		}
145 145
 
146 146
 		if ($schedule->status) {
147 147
 
@@ -155,12 +155,12 @@  discard block
 block discarded – undo
155 155
 	}
156 156
 
157 157
 	public function disable_single_cron($schedule_id) {
158
-        $schedule = array();
158
+		$schedule = array();
159 159
 		$hook      = 'xcloner_scheduler_'.$schedule_id;
160 160
 
161 161
 		if($timestamp = wp_next_scheduled($hook, array($schedule_id))) {
162
-            wp_unschedule_event($timestamp, $hook, array($schedule_id));
163
-        }
162
+			wp_unschedule_event($timestamp, $hook, array($schedule_id));
163
+		}
164 164
 
165 165
 		$schedule['status'] = 0;
166 166
 
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 	}
197 197
 
198 198
 	public function update_last_backup($schedule_id, $last_backup) {
199
-        $schedule = array();
199
+		$schedule = array();
200 200
 
201 201
 		$this->logger->info(sprintf('Updating last backup %s for schedule id #%s', $last_backup, $schedule_id));
202 202
 
@@ -222,9 +222,9 @@  discard block
 block discarded – undo
222 222
 		$xcloner = new XCloner();
223 223
 		$xcloner->init();
224 224
 		$this->set_xcloner_container( $xcloner );
225
-        $return_encrypted = array();
226
-        $return = array();
227
-        $additional = array();
225
+		$return_encrypted = array();
226
+		$return = array();
227
+		$additional = array();
228 228
 
229 229
 		#$hash = $this->xcloner_settings->get_hash();
230 230
 		#$this->get_xcloner_container()->get_xcloner_settings()->set_hash($hash);
Please login to merge, or discard this patch.