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 ( e65d67...dc9fa8 )
by Liuta
03:08
created
restore/xcloner_restore.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -580,6 +580,9 @@  discard block
 block discarded – undo
580 580
 		
581 581
 	}
582 582
 	
583
+	/**
584
+	 * @param mysqli $mysqli
585
+	 */
583 586
 	private function update_wp_url($wp_path, $url, $mysqli)
584 587
 	{
585 588
 		$wp_config = $wp_path.DS."wp-config.php";
@@ -886,6 +889,9 @@  discard block
 block discarded – undo
886 889
 		$this->send_response(200, $return);
887 890
 	}
888 891
 	
892
+	/**
893
+	 * @param string $val
894
+	 */
889 895
 	private function return_bytes($val) {
890 896
 	    $val = trim($val);
891 897
 	    $last = strtolower($val[strlen($val)-1]);
@@ -943,6 +949,9 @@  discard block
 block discarded – undo
943 949
 		return $files;
944 950
 	}
945 951
 	
952
+	/**
953
+	 * @param string $field
954
+	 */
946 955
 	private function sort_by( &$array, $field, $direction = 'asc')
947 956
 	{
948 957
 		$direction = strtolower($direction);
@@ -988,6 +997,9 @@  discard block
 block discarded – undo
988 997
 	 * Serialize fix methods below for mysql query lines
989 998
 	 */ 
990 999
 	 
1000
+	/**
1001
+	 * @return string
1002
+	 */
991 1003
 	function do_serialized_fix($query)
992 1004
 	{
993 1005
 		//return preg_replace('!s:(\d+):([\\\\]?"[\\\\]?"|[\\\\]?"((.*?)[^\\\\])[\\\\]?");!e', "'s:'.strlen(unescape_mysql('$3')).':\"'.unescape_quotes('$3').'\";'", $query);
Please login to merge, or discard this patch.