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 (c13330)
by Liuta
03:02
created
includes/class-xcloner-scheduler.php 1 patch
Indentation   +8 added lines, -8 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
 
@@ -157,8 +157,8 @@  discard block
 block discarded – undo
157 157
 	public function disable_single_cron($schedule_id) {
158 158
 		$hook      = 'xcloner_scheduler_'.$schedule_id;
159 159
 		if($timestamp = wp_next_scheduled($hook, array($schedule_id))) {
160
-            wp_unschedule_event($timestamp, $hook, array($schedule_id));
161
-        }
160
+			wp_unschedule_event($timestamp, $hook, array($schedule_id));
161
+		}
162 162
 
163 163
 		$schedule['status'] = 0;
164 164
 
Please login to merge, or discard this patch.