Passed
Push — master ( 053b79...61214a )
by Brian
05:07
created
vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -35,11 +35,11 @@  discard block
 block discarded – undo
35 35
      */
36 36
     protected function inflectModuleVars($vars)
37 37
     {
38
-        $vars['name'] = str_replace('pxcms-', '', $vars['name']);       // strip out pxcms- just incase (legacy)
39
-        $vars['name'] = str_replace('module-', '', $vars['name']);      // strip out module-
40
-        $vars['name'] = preg_replace('/-module$/', '', $vars['name']);  // strip out -module
41
-        $vars['name'] = str_replace('-', '_', $vars['name']);           // make -'s be _'s
42
-        $vars['name'] = ucwords($vars['name']);                         // make module name camelcased
38
+        $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy)
39
+        $vars['name'] = str_replace('module-', '', $vars['name']); // strip out module-
40
+        $vars['name'] = preg_replace('/-module$/', '', $vars['name']); // strip out -module
41
+        $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s
42
+        $vars['name'] = ucwords($vars['name']); // make module name camelcased
43 43
 
44 44
         return $vars;
45 45
     }
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
      */
53 53
     protected function inflectThemeVars($vars)
54 54
     {
55
-        $vars['name'] = str_replace('pxcms-', '', $vars['name']);       // strip out pxcms- just incase (legacy)
56
-        $vars['name'] = str_replace('theme-', '', $vars['name']);       // strip out theme-
57
-        $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);   // strip out -theme
58
-        $vars['name'] = str_replace('-', '_', $vars['name']);           // make -'s be _'s
59
-        $vars['name'] = ucwords($vars['name']);                         // make module name camelcased
55
+        $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy)
56
+        $vars['name'] = str_replace('theme-', '', $vars['name']); // strip out theme-
57
+        $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); // strip out -theme
58
+        $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s
59
+        $vars['name'] = ucwords($vars['name']); // make module name camelcased
60 60
 
61 61
         return $vars;
62 62
     }
Please login to merge, or discard this patch.
vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     private function correctPluginName($vars)
39 39
     {
40
-        $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
40
+        $camelCasedName = preg_replace_callback('/(-[a-z])/', function($matches) {
41 41
             return strtoupper($matches[0][1]);
42 42
         }, $vars['name']);
43 43
 
Please login to merge, or discard this patch.
vendor/composer/installers/src/bootstrap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,8 +6,8 @@
 block discarded – undo
6 6
     }
7 7
 }
8 8
 if ((!$loader = includeIfExists(__DIR__ . '/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__ . '/../../../autoload.php'))) {
9
-    die('You must set up the project dependencies, run the following commands:'.PHP_EOL.
10
-        'curl -s http://getcomposer.org/installer | php'.PHP_EOL.
11
-        'php composer.phar install'.PHP_EOL);
9
+    die('You must set up the project dependencies, run the following commands:' . PHP_EOL .
10
+        'curl -s http://getcomposer.org/installer | php' . PHP_EOL .
11
+        'php composer.phar install' . PHP_EOL);
12 12
 }
13 13
 return $loader;
Please login to merge, or discard this patch.
includes/libraries/class-ayecode-addons.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 // Exit if accessed directly
3
-if ( ! defined( 'ABSPATH' ) ) exit;
4
-if(!class_exists('Ayecode_Addons')) {
3
+if (!defined('ABSPATH')) exit;
4
+if (!class_exists('Ayecode_Addons')) {
5 5
 
6 6
     abstract class Ayecode_Addons
7 7
     {
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 // Exit if accessed directly
3
-if ( ! defined( 'ABSPATH' ) ) exit;
3
+if ( ! defined( 'ABSPATH' ) ) {
4
+    exit;
5
+}
4 6
 if(!class_exists('Ayecode_Addons')) {
5 7
 
6 8
     abstract class Ayecode_Addons
Please login to merge, or discard this patch.
includes/abstracts/abstract-wpinv-privacy.php 1 patch
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
  * Abstract privacy class.
4 4
  */
5 5
 
6
-defined( 'ABSPATH' ) || exit;
6
+defined('ABSPATH') || exit;
7 7
 
8 8
 /**
9 9
  * Abstract class that is intended to be extended by
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      *
39 39
      * @param string $name Plugin identifier.
40 40
      */
41
-    public function __construct( $name = '' ) {
41
+    public function __construct($name = '') {
42 42
         $this->name = $name;
43 43
         $this->init();
44 44
     }
@@ -47,22 +47,22 @@  discard block
 block discarded – undo
47 47
      * Hook in events.
48 48
      */
49 49
     protected function init() {
50
-        add_action( 'admin_init', array( $this, 'add_privacy_message' ) );
50
+        add_action('admin_init', array($this, 'add_privacy_message'));
51 51
         // Register data exporters
52
-        add_filter( 'wp_privacy_personal_data_exporters', array( $this, 'register_exporters' ), 10 );
52
+        add_filter('wp_privacy_personal_data_exporters', array($this, 'register_exporters'), 10);
53 53
         // Register data erasers
54
-        add_filter( 'wp_privacy_personal_data_erasers', array( $this, 'register_erasers' ) );
54
+        add_filter('wp_privacy_personal_data_erasers', array($this, 'register_erasers'));
55 55
     }
56 56
 
57 57
     /**
58 58
      * Adds the privacy message on invoicing privacy page.
59 59
      */
60 60
     public function add_privacy_message() {
61
-        if ( function_exists( 'wp_add_privacy_policy_content' ) ) {
61
+        if (function_exists('wp_add_privacy_policy_content')) {
62 62
             $content = $this->get_privacy_message();
63 63
 
64
-            if ( $content ) {
65
-                wp_add_privacy_policy_content( $this->name, $this->get_privacy_message() );
64
+            if ($content) {
65
+                wp_add_privacy_policy_content($this->name, $this->get_privacy_message());
66 66
             }
67 67
         }
68 68
     }
@@ -83,9 +83,9 @@  discard block
 block discarded – undo
83 83
      * @param array $exporters List of exporter callbacks.
84 84
      * @return array
85 85
      */
86
-    public function register_exporters( $exporters = array() ) {
87
-        foreach ( $this->exporters as $id => $exporter ) {
88
-            $exporters[ $id ] = $exporter;
86
+    public function register_exporters($exporters = array()) {
87
+        foreach ($this->exporters as $id => $exporter) {
88
+            $exporters[$id] = $exporter;
89 89
         }
90 90
         return $exporters;
91 91
     }
@@ -96,9 +96,9 @@  discard block
 block discarded – undo
96 96
      * @param array $erasers List of eraser callbacks.
97 97
      * @return array
98 98
      */
99
-    public function register_erasers( $erasers = array() ) {
100
-        foreach ( $this->erasers as $id => $eraser ) {
101
-            $erasers[ $id ] = $eraser;
99
+    public function register_erasers($erasers = array()) {
100
+        foreach ($this->erasers as $id => $eraser) {
101
+            $erasers[$id] = $eraser;
102 102
         }
103 103
         return $erasers;
104 104
     }
@@ -112,8 +112,8 @@  discard block
 block discarded – undo
112 112
      *
113 113
      * @return array
114 114
      */
115
-    public function add_exporter( $id, $name, $callback ) {
116
-        $this->exporters[ $id ] = array(
115
+    public function add_exporter($id, $name, $callback) {
116
+        $this->exporters[$id] = array(
117 117
             'exporter_friendly_name' => $name,
118 118
             'callback'               => $callback,
119 119
         );
@@ -129,8 +129,8 @@  discard block
 block discarded – undo
129 129
      *
130 130
      * @return array
131 131
      */
132
-    public function add_eraser( $id, $name, $callback ) {
133
-        $this->erasers[ $id ] = array(
132
+    public function add_eraser($id, $name, $callback) {
133
+        $this->erasers[$id] = array(
134 134
             'eraser_friendly_name' => $name,
135 135
             'callback'             => $callback,
136 136
         );
Please login to merge, or discard this patch.
includes/abstracts/abstract-wpinv-session.php 2 patches
Indentation   +98 added lines, -98 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  */
5 5
 
6 6
 if ( ! defined( 'ABSPATH' ) ) {
7
-	exit;
7
+    exit;
8 8
 }
9 9
 
10 10
 /**
@@ -12,112 +12,112 @@  discard block
 block discarded – undo
12 12
  */
13 13
 abstract class WPInv_Session {
14 14
 
15
-	/**
16
-	 * Customer ID.
17
-	 *
18
-	 * @var int $_customer_id Customer ID.
19
-	 */
20
-	protected $_customer_id;
15
+    /**
16
+     * Customer ID.
17
+     *
18
+     * @var int $_customer_id Customer ID.
19
+     */
20
+    protected $_customer_id;
21 21
 
22
-	/**
23
-	 * Session Data.
24
-	 *
25
-	 * @var array $_data Data array.
26
-	 */
27
-	protected $_data = array();
22
+    /**
23
+     * Session Data.
24
+     *
25
+     * @var array $_data Data array.
26
+     */
27
+    protected $_data = array();
28 28
 
29
-	/**
30
-	 * Dirty when the session needs saving.
31
-	 *
32
-	 * @var bool $_dirty When something changes
33
-	 */
34
-	protected $_dirty = false;
29
+    /**
30
+     * Dirty when the session needs saving.
31
+     *
32
+     * @var bool $_dirty When something changes
33
+     */
34
+    protected $_dirty = false;
35 35
 
36
-	/**
37
-	 * Init hooks and session data. Extended by child classes.
38
-	 *
39
-	 * @since 3.3.0
40
-	 */
41
-	public function init() {}
36
+    /**
37
+     * Init hooks and session data. Extended by child classes.
38
+     *
39
+     * @since 3.3.0
40
+     */
41
+    public function init() {}
42 42
 
43
-	/**
44
-	 * Cleanup session data. Extended by child classes.
45
-	 */
46
-	public function cleanup_sessions() {}
43
+    /**
44
+     * Cleanup session data. Extended by child classes.
45
+     */
46
+    public function cleanup_sessions() {}
47 47
 
48
-	/**
49
-	 * Magic get method.
50
-	 *
51
-	 * @param mixed $key Key to get.
52
-	 * @return mixed
53
-	 */
54
-	public function __get( $key ) {
55
-		return $this->get( $key );
56
-	}
48
+    /**
49
+     * Magic get method.
50
+     *
51
+     * @param mixed $key Key to get.
52
+     * @return mixed
53
+     */
54
+    public function __get( $key ) {
55
+        return $this->get( $key );
56
+    }
57 57
 
58
-	/**
59
-	 * Magic set method.
60
-	 *
61
-	 * @param mixed $key Key to set.
62
-	 * @param mixed $value Value to set.
63
-	 */
64
-	public function __set( $key, $value ) {
65
-		$this->set( $key, $value );
66
-	}
58
+    /**
59
+     * Magic set method.
60
+     *
61
+     * @param mixed $key Key to set.
62
+     * @param mixed $value Value to set.
63
+     */
64
+    public function __set( $key, $value ) {
65
+        $this->set( $key, $value );
66
+    }
67 67
 
68
-	/**
69
-	 * Magic isset method.
70
-	 *
71
-	 * @param mixed $key Key to check.
72
-	 * @return bool
73
-	 */
74
-	public function __isset( $key ) {
75
-		return isset( $this->_data[ sanitize_title( $key ) ] );
76
-	}
68
+    /**
69
+     * Magic isset method.
70
+     *
71
+     * @param mixed $key Key to check.
72
+     * @return bool
73
+     */
74
+    public function __isset( $key ) {
75
+        return isset( $this->_data[ sanitize_title( $key ) ] );
76
+    }
77 77
 
78
-	/**
79
-	 * Magic unset method.
80
-	 *
81
-	 * @param mixed $key Key to unset.
82
-	 */
83
-	public function __unset( $key ) {
84
-		if ( isset( $this->_data[ $key ] ) ) {
85
-			unset( $this->_data[ $key ] );
86
-			$this->_dirty = true;
87
-		}
88
-	}
78
+    /**
79
+     * Magic unset method.
80
+     *
81
+     * @param mixed $key Key to unset.
82
+     */
83
+    public function __unset( $key ) {
84
+        if ( isset( $this->_data[ $key ] ) ) {
85
+            unset( $this->_data[ $key ] );
86
+            $this->_dirty = true;
87
+        }
88
+    }
89 89
 
90
-	/**
91
-	 * Get a session variable.
92
-	 *
93
-	 * @param string $key Key to get.
94
-	 * @param mixed  $default used if the session variable isn't set.
95
-	 * @return array|string value of session variable
96
-	 */
97
-	public function get( $key, $default = null ) {
98
-		$key = sanitize_key( $key );
99
-		return isset( $this->_data[ $key ] ) ? maybe_unserialize( $this->_data[ $key ] ) : $default;
100
-	}
90
+    /**
91
+     * Get a session variable.
92
+     *
93
+     * @param string $key Key to get.
94
+     * @param mixed  $default used if the session variable isn't set.
95
+     * @return array|string value of session variable
96
+     */
97
+    public function get( $key, $default = null ) {
98
+        $key = sanitize_key( $key );
99
+        return isset( $this->_data[ $key ] ) ? maybe_unserialize( $this->_data[ $key ] ) : $default;
100
+    }
101 101
 
102
-	/**
103
-	 * Set a session variable.
104
-	 *
105
-	 * @param string $key Key to set.
106
-	 * @param mixed  $value Value to set.
107
-	 */
108
-	public function set( $key, $value ) {
109
-		if ( $value !== $this->get( $key ) ) {
110
-			$this->_data[ sanitize_key( $key ) ] = maybe_serialize( $value );
111
-			$this->_dirty                        = true;
112
-		}
113
-	}
102
+    /**
103
+     * Set a session variable.
104
+     *
105
+     * @param string $key Key to set.
106
+     * @param mixed  $value Value to set.
107
+     */
108
+    public function set( $key, $value ) {
109
+        if ( $value !== $this->get( $key ) ) {
110
+            $this->_data[ sanitize_key( $key ) ] = maybe_serialize( $value );
111
+            $this->_dirty                        = true;
112
+        }
113
+    }
114 114
 
115
-	/**
116
-	 * Get customer ID.
117
-	 *
118
-	 * @return int
119
-	 */
120
-	public function get_customer_id() {
121
-		return $this->_customer_id;
122
-	}
115
+    /**
116
+     * Get customer ID.
117
+     *
118
+     * @return int
119
+     */
120
+    public function get_customer_id() {
121
+        return $this->_customer_id;
122
+    }
123 123
 }
Please login to merge, or discard this patch.
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
  * Handle data for the current customer session
4 4
  */
5 5
 
6
-if ( ! defined( 'ABSPATH' ) ) {
6
+if (!defined('ABSPATH')) {
7 7
 	exit;
8 8
 }
9 9
 
@@ -51,8 +51,8 @@  discard block
 block discarded – undo
51 51
 	 * @param mixed $key Key to get.
52 52
 	 * @return mixed
53 53
 	 */
54
-	public function __get( $key ) {
55
-		return $this->get( $key );
54
+	public function __get($key) {
55
+		return $this->get($key);
56 56
 	}
57 57
 
58 58
 	/**
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
 	 * @param mixed $key Key to set.
62 62
 	 * @param mixed $value Value to set.
63 63
 	 */
64
-	public function __set( $key, $value ) {
65
-		$this->set( $key, $value );
64
+	public function __set($key, $value) {
65
+		$this->set($key, $value);
66 66
 	}
67 67
 
68 68
 	/**
@@ -71,8 +71,8 @@  discard block
 block discarded – undo
71 71
 	 * @param mixed $key Key to check.
72 72
 	 * @return bool
73 73
 	 */
74
-	public function __isset( $key ) {
75
-		return isset( $this->_data[ sanitize_title( $key ) ] );
74
+	public function __isset($key) {
75
+		return isset($this->_data[sanitize_title($key)]);
76 76
 	}
77 77
 
78 78
 	/**
@@ -80,9 +80,9 @@  discard block
 block discarded – undo
80 80
 	 *
81 81
 	 * @param mixed $key Key to unset.
82 82
 	 */
83
-	public function __unset( $key ) {
84
-		if ( isset( $this->_data[ $key ] ) ) {
85
-			unset( $this->_data[ $key ] );
83
+	public function __unset($key) {
84
+		if (isset($this->_data[$key])) {
85
+			unset($this->_data[$key]);
86 86
 			$this->_dirty = true;
87 87
 		}
88 88
 	}
@@ -94,9 +94,9 @@  discard block
 block discarded – undo
94 94
 	 * @param mixed  $default used if the session variable isn't set.
95 95
 	 * @return array|string value of session variable
96 96
 	 */
97
-	public function get( $key, $default = null ) {
98
-		$key = sanitize_key( $key );
99
-		return isset( $this->_data[ $key ] ) ? maybe_unserialize( $this->_data[ $key ] ) : $default;
97
+	public function get($key, $default = null) {
98
+		$key = sanitize_key($key);
99
+		return isset($this->_data[$key]) ? maybe_unserialize($this->_data[$key]) : $default;
100 100
 	}
101 101
 
102 102
 	/**
@@ -105,9 +105,9 @@  discard block
 block discarded – undo
105 105
 	 * @param string $key Key to set.
106 106
 	 * @param mixed  $value Value to set.
107 107
 	 */
108
-	public function set( $key, $value ) {
109
-		if ( $value !== $this->get( $key ) ) {
110
-			$this->_data[ sanitize_key( $key ) ] = maybe_serialize( $value );
108
+	public function set($key, $value) {
109
+		if ($value !== $this->get($key)) {
110
+			$this->_data[sanitize_key($key)] = maybe_serialize($value);
111 111
 			$this->_dirty                        = true;
112 112
 		}
113 113
 	}
Please login to merge, or discard this patch.
widgets/invoice-messages.php 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -44,22 +44,22 @@
 block discarded – undo
44 44
         parent::__construct( $options );
45 45
     }
46 46
 
47
-	/**
48
-	 * The Super block output function.
49
-	 *
50
-	 * @param array $args
51
-	 * @param array $widget_args
52
-	 * @param string $content
53
-	 *
54
-	 * @return mixed|string|bool
55
-	 */
47
+    /**
48
+     * The Super block output function.
49
+     *
50
+     * @param array $args
51
+     * @param array $widget_args
52
+     * @param string $content
53
+     *
54
+     * @return mixed|string|bool
55
+     */
56 56
     public function output( $args = array(), $widget_args = array(), $content = '' ) {
57 57
 
58
-	    ob_start();
58
+        ob_start();
59 59
 
60
-	    wpinv_print_errors();
60
+        wpinv_print_errors();
61 61
 
62
-	    return '<div class="wpinv">' . ob_get_clean() . '</div>';
62
+        return '<div class="wpinv">' . ob_get_clean() . '</div>';
63 63
 
64 64
     }
65 65
 
Please login to merge, or discard this patch.
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'ABSPATH' ) ) {
2
+if (!defined('ABSPATH')) {
3 3
     exit;
4 4
 }
5 5
 
@@ -21,15 +21,15 @@  discard block
 block discarded – undo
21 21
             'block-keywords' => "['invoicing','history']",
22 22
             'class_name'     => __CLASS__,
23 23
             'base_id'        => 'wpinv_messages',
24
-            'name'           => __( 'GetPaid > Invoice Messages', 'invoicing' ),
24
+            'name'           => __('GetPaid > Invoice Messages', 'invoicing'),
25 25
             'widget_ops'     => array(
26 26
                 'classname'   => 'wpinv-messages-class  wpi-g',
27
-                'description' => esc_html__( 'Displays invoice error and warning messages on checkout page.', 'invoicing' ),
27
+                'description' => esc_html__('Displays invoice error and warning messages on checkout page.', 'invoicing'),
28 28
             ),
29 29
             'arguments'      => array(
30 30
                 'title' => array(
31
-                    'title'    => __( 'Widget title', 'invoicing' ),
32
-                    'desc'     => __( 'Enter widget title.', 'invoicing' ),
31
+                    'title'    => __('Widget title', 'invoicing'),
32
+                    'desc'     => __('Enter widget title.', 'invoicing'),
33 33
                     'type'     => 'text',
34 34
                     'desc_tip' => true,
35 35
                     'default'  => '',
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
         );
41 41
 
42
-        parent::__construct( $options );
42
+        parent::__construct($options);
43 43
     }
44 44
 
45 45
 	/**
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 	 *
52 52
 	 * @return mixed|string|bool
53 53
 	 */
54
-    public function output( $args = array(), $widget_args = array(), $content = '' ) {
54
+    public function output($args = array(), $widget_args = array(), $content = '') {
55 55
 
56 56
 	    ob_start();
57 57
 
Please login to merge, or discard this patch.
vendor/composer/ClassLoader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
             return false;
343 343
         }
344 344
         if (null !== $this->apcuPrefix) {
345
-            $file = apcu_fetch($this->apcuPrefix.$class, $hit);
345
+            $file = apcu_fetch($this->apcuPrefix . $class, $hit);
346 346
             if ($hit) {
347 347
                 return $file;
348 348
             }
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
         }
357 357
 
358 358
         if (null !== $this->apcuPrefix) {
359
-            apcu_add($this->apcuPrefix.$class, $file);
359
+            apcu_add($this->apcuPrefix . $class, $file);
360 360
         }
361 361
 
362 362
         if (false === $file) {
Please login to merge, or discard this patch.
includes/data/continents.php 2 patches
Indentation   +285 added lines, -285 removed lines patch added patch discarded remove patch
@@ -11,289 +11,289 @@
 block discarded – undo
11 11
 defined( 'ABSPATH' ) || exit;
12 12
 
13 13
 return array(
14
-	'AF' => array(
15
-		'name'      => __( 'Africa', 'invoicing' ),
16
-		'countries' => array(
17
-			'AO',
18
-			'BF',
19
-			'BI',
20
-			'BJ',
21
-			'BW',
22
-			'CD',
23
-			'CF',
24
-			'CG',
25
-			'CI',
26
-			'CM',
27
-			'CV',
28
-			'DJ',
29
-			'DZ',
30
-			'EG',
31
-			'EH',
32
-			'ER',
33
-			'ET',
34
-			'GA',
35
-			'GH',
36
-			'GM',
37
-			'GN',
38
-			'GQ',
39
-			'GW',
40
-			'KE',
41
-			'KM',
42
-			'LR',
43
-			'LS',
44
-			'LY',
45
-			'MA',
46
-			'MG',
47
-			'ML',
48
-			'MR',
49
-			'MU',
50
-			'MW',
51
-			'MZ',
52
-			'NA',
53
-			'NE',
54
-			'NG',
55
-			'RE',
56
-			'RW',
57
-			'SC',
58
-			'SD',
59
-			'SH',
60
-			'SL',
61
-			'SN',
62
-			'SO',
63
-			'SS',
64
-			'ST',
65
-			'SZ',
66
-			'TD',
67
-			'TG',
68
-			'TN',
69
-			'TZ',
70
-			'UG',
71
-			'YT',
72
-			'ZA',
73
-			'ZM',
74
-			'ZW',
75
-		),
76
-	),
77
-	'AN' => array(
78
-		'name'      => __( 'Antarctica', 'invoicing' ),
79
-		'countries' => array(
80
-			'AQ',
81
-			'BV',
82
-			'GS',
83
-			'HM',
84
-			'TF',
85
-		),
86
-	),
87
-	'AS' => array(
88
-		'name'      => __( 'Asia', 'invoicing' ),
89
-		'countries' => array(
90
-			'AE',
91
-			'AF',
92
-			'AM',
93
-			'AZ',
94
-			'BD',
95
-			'BH',
96
-			'BN',
97
-			'BT',
98
-			'CC',
99
-			'CN',
100
-			'CX',
101
-			'CY',
102
-			'GE',
103
-			'HK',
104
-			'ID',
105
-			'IL',
106
-			'IN',
107
-			'IO',
108
-			'IQ',
109
-			'IR',
110
-			'JO',
111
-			'JP',
112
-			'KG',
113
-			'KH',
114
-			'KP',
115
-			'KR',
116
-			'KW',
117
-			'KZ',
118
-			'LA',
119
-			'LB',
120
-			'LK',
121
-			'MM',
122
-			'MN',
123
-			'MO',
124
-			'MV',
125
-			'MY',
126
-			'NP',
127
-			'OM',
128
-			'PH',
129
-			'PK',
130
-			'PS',
131
-			'QA',
132
-			'SA',
133
-			'SG',
134
-			'SY',
135
-			'TH',
136
-			'TJ',
137
-			'TL',
138
-			'TM',
139
-			'TW',
140
-			'UZ',
141
-			'VN',
142
-			'YE',
143
-		),
144
-	),
145
-	'EU' => array(
146
-		'name'      => __( 'Europe', 'invoicing' ),
147
-		'countries' => array(
148
-			'AD',
149
-			'AL',
150
-			'AT',
151
-			'AX',
152
-			'BA',
153
-			'BE',
154
-			'BG',
155
-			'BY',
156
-			'CH',
157
-			'CY',
158
-			'CZ',
159
-			'DE',
160
-			'DK',
161
-			'EE',
162
-			'ES',
163
-			'FI',
164
-			'FO',
165
-			'FR',
166
-			'GB',
167
-			'GG',
168
-			'GI',
169
-			'GR',
170
-			'HR',
171
-			'HU',
172
-			'IE',
173
-			'IM',
174
-			'IS',
175
-			'IT',
176
-			'JE',
177
-			'LI',
178
-			'LT',
179
-			'LU',
180
-			'LV',
181
-			'MC',
182
-			'MD',
183
-			'ME',
184
-			'MK',
185
-			'MT',
186
-			'NL',
187
-			'NO',
188
-			'PL',
189
-			'PT',
190
-			'RO',
191
-			'RS',
192
-			'RU',
193
-			'SE',
194
-			'SI',
195
-			'SJ',
196
-			'SK',
197
-			'SM',
198
-			'TR',
199
-			'UA',
200
-			'VA',
201
-		),
202
-	),
203
-	'NA' => array(
204
-		'name'      => __( 'North America', 'invoicing' ),
205
-		'countries' => array(
206
-			'AG',
207
-			'AI',
208
-			'AW',
209
-			'BB',
210
-			'BL',
211
-			'BM',
212
-			'BQ',
213
-			'BS',
214
-			'BZ',
215
-			'CA',
216
-			'CR',
217
-			'CU',
218
-			'CW',
219
-			'DM',
220
-			'DO',
221
-			'GD',
222
-			'GL',
223
-			'GP',
224
-			'GT',
225
-			'HN',
226
-			'HT',
227
-			'JM',
228
-			'KN',
229
-			'KY',
230
-			'LC',
231
-			'MF',
232
-			'MQ',
233
-			'MS',
234
-			'MX',
235
-			'NI',
236
-			'PA',
237
-			'PM',
238
-			'PR',
239
-			'SV',
240
-			'SX',
241
-			'TC',
242
-			'TT',
243
-			'US',
244
-			'VC',
245
-			'VG',
246
-			'VI',
247
-		),
248
-	),
249
-	'OC' => array(
250
-		'name'      => __( 'Oceania', 'invoicing' ),
251
-		'countries' => array(
252
-			'AS',
253
-			'AU',
254
-			'CK',
255
-			'FJ',
256
-			'FM',
257
-			'GU',
258
-			'KI',
259
-			'MH',
260
-			'MP',
261
-			'NC',
262
-			'NF',
263
-			'NR',
264
-			'NU',
265
-			'NZ',
266
-			'PF',
267
-			'PG',
268
-			'PN',
269
-			'PW',
270
-			'SB',
271
-			'TK',
272
-			'TO',
273
-			'TV',
274
-			'UM',
275
-			'VU',
276
-			'WF',
277
-			'WS',
278
-		),
279
-	),
280
-	'SA' => array(
281
-		'name'      => __( 'South America', 'invoicing' ),
282
-		'countries' => array(
283
-			'AR',
284
-			'BO',
285
-			'BR',
286
-			'CL',
287
-			'CO',
288
-			'EC',
289
-			'FK',
290
-			'GF',
291
-			'GY',
292
-			'PE',
293
-			'PY',
294
-			'SR',
295
-			'UY',
296
-			'VE',
297
-		),
298
-	),
14
+    'AF' => array(
15
+        'name'      => __( 'Africa', 'invoicing' ),
16
+        'countries' => array(
17
+            'AO',
18
+            'BF',
19
+            'BI',
20
+            'BJ',
21
+            'BW',
22
+            'CD',
23
+            'CF',
24
+            'CG',
25
+            'CI',
26
+            'CM',
27
+            'CV',
28
+            'DJ',
29
+            'DZ',
30
+            'EG',
31
+            'EH',
32
+            'ER',
33
+            'ET',
34
+            'GA',
35
+            'GH',
36
+            'GM',
37
+            'GN',
38
+            'GQ',
39
+            'GW',
40
+            'KE',
41
+            'KM',
42
+            'LR',
43
+            'LS',
44
+            'LY',
45
+            'MA',
46
+            'MG',
47
+            'ML',
48
+            'MR',
49
+            'MU',
50
+            'MW',
51
+            'MZ',
52
+            'NA',
53
+            'NE',
54
+            'NG',
55
+            'RE',
56
+            'RW',
57
+            'SC',
58
+            'SD',
59
+            'SH',
60
+            'SL',
61
+            'SN',
62
+            'SO',
63
+            'SS',
64
+            'ST',
65
+            'SZ',
66
+            'TD',
67
+            'TG',
68
+            'TN',
69
+            'TZ',
70
+            'UG',
71
+            'YT',
72
+            'ZA',
73
+            'ZM',
74
+            'ZW',
75
+        ),
76
+    ),
77
+    'AN' => array(
78
+        'name'      => __( 'Antarctica', 'invoicing' ),
79
+        'countries' => array(
80
+            'AQ',
81
+            'BV',
82
+            'GS',
83
+            'HM',
84
+            'TF',
85
+        ),
86
+    ),
87
+    'AS' => array(
88
+        'name'      => __( 'Asia', 'invoicing' ),
89
+        'countries' => array(
90
+            'AE',
91
+            'AF',
92
+            'AM',
93
+            'AZ',
94
+            'BD',
95
+            'BH',
96
+            'BN',
97
+            'BT',
98
+            'CC',
99
+            'CN',
100
+            'CX',
101
+            'CY',
102
+            'GE',
103
+            'HK',
104
+            'ID',
105
+            'IL',
106
+            'IN',
107
+            'IO',
108
+            'IQ',
109
+            'IR',
110
+            'JO',
111
+            'JP',
112
+            'KG',
113
+            'KH',
114
+            'KP',
115
+            'KR',
116
+            'KW',
117
+            'KZ',
118
+            'LA',
119
+            'LB',
120
+            'LK',
121
+            'MM',
122
+            'MN',
123
+            'MO',
124
+            'MV',
125
+            'MY',
126
+            'NP',
127
+            'OM',
128
+            'PH',
129
+            'PK',
130
+            'PS',
131
+            'QA',
132
+            'SA',
133
+            'SG',
134
+            'SY',
135
+            'TH',
136
+            'TJ',
137
+            'TL',
138
+            'TM',
139
+            'TW',
140
+            'UZ',
141
+            'VN',
142
+            'YE',
143
+        ),
144
+    ),
145
+    'EU' => array(
146
+        'name'      => __( 'Europe', 'invoicing' ),
147
+        'countries' => array(
148
+            'AD',
149
+            'AL',
150
+            'AT',
151
+            'AX',
152
+            'BA',
153
+            'BE',
154
+            'BG',
155
+            'BY',
156
+            'CH',
157
+            'CY',
158
+            'CZ',
159
+            'DE',
160
+            'DK',
161
+            'EE',
162
+            'ES',
163
+            'FI',
164
+            'FO',
165
+            'FR',
166
+            'GB',
167
+            'GG',
168
+            'GI',
169
+            'GR',
170
+            'HR',
171
+            'HU',
172
+            'IE',
173
+            'IM',
174
+            'IS',
175
+            'IT',
176
+            'JE',
177
+            'LI',
178
+            'LT',
179
+            'LU',
180
+            'LV',
181
+            'MC',
182
+            'MD',
183
+            'ME',
184
+            'MK',
185
+            'MT',
186
+            'NL',
187
+            'NO',
188
+            'PL',
189
+            'PT',
190
+            'RO',
191
+            'RS',
192
+            'RU',
193
+            'SE',
194
+            'SI',
195
+            'SJ',
196
+            'SK',
197
+            'SM',
198
+            'TR',
199
+            'UA',
200
+            'VA',
201
+        ),
202
+    ),
203
+    'NA' => array(
204
+        'name'      => __( 'North America', 'invoicing' ),
205
+        'countries' => array(
206
+            'AG',
207
+            'AI',
208
+            'AW',
209
+            'BB',
210
+            'BL',
211
+            'BM',
212
+            'BQ',
213
+            'BS',
214
+            'BZ',
215
+            'CA',
216
+            'CR',
217
+            'CU',
218
+            'CW',
219
+            'DM',
220
+            'DO',
221
+            'GD',
222
+            'GL',
223
+            'GP',
224
+            'GT',
225
+            'HN',
226
+            'HT',
227
+            'JM',
228
+            'KN',
229
+            'KY',
230
+            'LC',
231
+            'MF',
232
+            'MQ',
233
+            'MS',
234
+            'MX',
235
+            'NI',
236
+            'PA',
237
+            'PM',
238
+            'PR',
239
+            'SV',
240
+            'SX',
241
+            'TC',
242
+            'TT',
243
+            'US',
244
+            'VC',
245
+            'VG',
246
+            'VI',
247
+        ),
248
+    ),
249
+    'OC' => array(
250
+        'name'      => __( 'Oceania', 'invoicing' ),
251
+        'countries' => array(
252
+            'AS',
253
+            'AU',
254
+            'CK',
255
+            'FJ',
256
+            'FM',
257
+            'GU',
258
+            'KI',
259
+            'MH',
260
+            'MP',
261
+            'NC',
262
+            'NF',
263
+            'NR',
264
+            'NU',
265
+            'NZ',
266
+            'PF',
267
+            'PG',
268
+            'PN',
269
+            'PW',
270
+            'SB',
271
+            'TK',
272
+            'TO',
273
+            'TV',
274
+            'UM',
275
+            'VU',
276
+            'WF',
277
+            'WS',
278
+        ),
279
+    ),
280
+    'SA' => array(
281
+        'name'      => __( 'South America', 'invoicing' ),
282
+        'countries' => array(
283
+            'AR',
284
+            'BO',
285
+            'BR',
286
+            'CL',
287
+            'CO',
288
+            'EC',
289
+            'FK',
290
+            'GF',
291
+            'GY',
292
+            'PE',
293
+            'PY',
294
+            'SR',
295
+            'UY',
296
+            'VE',
297
+        ),
298
+    ),
299 299
 );
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@  discard block
 block discarded – undo
8 8
  * @version 1.0.14
9 9
  */
10 10
 
11
-defined( 'ABSPATH' ) || exit;
11
+defined('ABSPATH') || exit;
12 12
 
13 13
 return array(
14 14
 	'AF' => array(
15
-		'name'      => __( 'Africa', 'invoicing' ),
15
+		'name'      => __('Africa', 'invoicing'),
16 16
 		'countries' => array(
17 17
 			'AO',
18 18
 			'BF',
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 		),
76 76
 	),
77 77
 	'AN' => array(
78
-		'name'      => __( 'Antarctica', 'invoicing' ),
78
+		'name'      => __('Antarctica', 'invoicing'),
79 79
 		'countries' => array(
80 80
 			'AQ',
81 81
 			'BV',
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 		),
86 86
 	),
87 87
 	'AS' => array(
88
-		'name'      => __( 'Asia', 'invoicing' ),
88
+		'name'      => __('Asia', 'invoicing'),
89 89
 		'countries' => array(
90 90
 			'AE',
91 91
 			'AF',
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 		),
144 144
 	),
145 145
 	'EU' => array(
146
-		'name'      => __( 'Europe', 'invoicing' ),
146
+		'name'      => __('Europe', 'invoicing'),
147 147
 		'countries' => array(
148 148
 			'AD',
149 149
 			'AL',
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 		),
202 202
 	),
203 203
 	'NA' => array(
204
-		'name'      => __( 'North America', 'invoicing' ),
204
+		'name'      => __('North America', 'invoicing'),
205 205
 		'countries' => array(
206 206
 			'AG',
207 207
 			'AI',
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
 		),
248 248
 	),
249 249
 	'OC' => array(
250
-		'name'      => __( 'Oceania', 'invoicing' ),
250
+		'name'      => __('Oceania', 'invoicing'),
251 251
 		'countries' => array(
252 252
 			'AS',
253 253
 			'AU',
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
 		),
279 279
 	),
280 280
 	'SA' => array(
281
-		'name'      => __( 'South America', 'invoicing' ),
281
+		'name'      => __('South America', 'invoicing'),
282 282
 		'countries' => array(
283 283
 			'AR',
284 284
 			'BO',
Please login to merge, or discard this patch.