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 (2c5dde)
by Liuta
03:00
created
includes/class-xcloner-loader.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -59,24 +59,24 @@  discard block
 block discarded – undo
59 59
 	 */
60 60
 	protected $filters;
61 61
 
62
-    /**
63
-     * @var Xcloner
64
-     */
65
-    private $xcloner_plugin;
66
-
67
-    /**
68
-     * @var Xcloner
69
-     */
70
-    private $xcloner_container;
71
-
72
-
73
-    /**
74
-     * Initialize the collections used to maintain the actions and filters.
75
-     *
76
-     * Xcloner_Loader constructor.
77
-     * @param Xcloner $xcloner_container
78
-     */
79
-    public function __construct(Xcloner $xcloner_container)
62
+	/**
63
+	 * @var Xcloner
64
+	 */
65
+	private $xcloner_plugin;
66
+
67
+	/**
68
+	 * @var Xcloner
69
+	 */
70
+	private $xcloner_container;
71
+
72
+
73
+	/**
74
+	 * Initialize the collections used to maintain the actions and filters.
75
+	 *
76
+	 * Xcloner_Loader constructor.
77
+	 * @param Xcloner $xcloner_container
78
+	 */
79
+	public function __construct(Xcloner $xcloner_container)
80 80
 	{
81 81
 
82 82
 		$this->actions = array();
@@ -86,10 +86,10 @@  discard block
 block discarded – undo
86 86
 
87 87
 	}
88 88
 
89
-    /**
90
-     * Add XCloner to Admin Menu
91
-     */
92
-    public function xcloner_backup_add_admin_menu()
89
+	/**
90
+	 * Add XCloner to Admin Menu
91
+	 */
92
+	public function xcloner_backup_add_admin_menu()
93 93
 	{
94 94
 		if (function_exists('add_menu_page')) {
95 95
 			add_menu_page(__('Site Backup', 'xcloner-backup-and-restore'),
Please login to merge, or discard this patch.
includes/class-xcloner-encryption.php 3 patches
Indentation   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@  discard block
 block discarded – undo
19 19
 	private $xcloner_container;
20 20
 	private $verification = false;
21 21
 
22
-    /**
23
-     * Xcloner_Encryption constructor.
24
-     * @param Xcloner $xcloner_container
25
-     */
26
-    public function __construct(Xcloner $xcloner_container)
22
+	/**
23
+	 * Xcloner_Encryption constructor.
24
+	 * @param Xcloner $xcloner_container
25
+	 */
26
+	public function __construct(Xcloner $xcloner_container)
27 27
 	{
28 28
 		$this->xcloner_container = $xcloner_container;
29 29
 		if (method_exists($xcloner_container, 'get_xcloner_settings')) {
@@ -63,12 +63,12 @@  discard block
 block discarded – undo
63 63
 	public function is_encrypted_file($filename) {
64 64
 		$fp = fopen($this->get_xcloner_path().$filename, 'r');
65 65
 		if($fp) {
66
-            $encryption_length = fread($fp, 16);
67
-            fclose($fp);
68
-            if (is_numeric($encryption_length)) {
69
-                return true;
70
-            }
71
-        }
66
+			$encryption_length = fread($fp, 16);
67
+			fclose($fp);
68
+			if (is_numeric($encryption_length)) {
69
+				return true;
70
+			}
71
+		}
72 72
 
73 73
 		return false;
74 74
 
@@ -372,10 +372,10 @@  discard block
 block discarded – undo
372 372
 	if (isset($argv[1])) {
373 373
 
374 374
 		class Xcloner {
375
-            /**
376
-             * Xcloner constructor.
377
-             */
378
-            public function __construct()
375
+			/**
376
+			 * Xcloner constructor.
377
+			 */
378
+			public function __construct()
379 379
 			{
380 380
 			}
381 381
 		}
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 	 */
63 63
 	public function is_encrypted_file($filename) {
64 64
 		$fp = fopen($this->get_xcloner_path().$filename, 'r');
65
-		if($fp) {
65
+		if ($fp) {
66 66
             $encryption_length = fread($fp, 16);
67 67
             fclose($fp);
68 68
             if (is_numeric($encryption_length)) {
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -387,6 +387,6 @@
 block discarded – undo
387 387
 			$xcloner_encryption->decrypt_file($argv[2], $argv[2].".dec", $argv[4], 0, 0, true);
388 388
 		}
389 389
 	}
390
-}catch (\Exception $e) {
390
+} catch (\Exception $e) {
391 391
 	echo "CAUGHT: ".$e->getMessage();
392 392
 }
Please login to merge, or discard this patch.