Completed
Branch BUG/11214/move-command-handler... (de017e)
by
unknown
04:20 queued 02:32
created
core/services/commands/middleware/InvalidCommandBusMiddlewareException.php 1 patch
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 use EventEspresso\core\exceptions\InvalidDataTypeException;
5 5
 
6 6
 if ( ! defined('EVENT_ESPRESSO_VERSION')) {
7
-    exit('No direct script access allowed');
7
+	exit('No direct script access allowed');
8 8
 }
9 9
 
10 10
 
@@ -23,35 +23,35 @@  discard block
 block discarded – undo
23 23
 {
24 24
 
25 25
 
26
-    /**
27
-     * @access public
28
-     * @param  mixed     $command_bus_middleware_object
29
-     * @param  string    $message
30
-     * @param int        $code
31
-     * @param \Exception $previous
32
-     */
33
-    public function __construct($command_bus_middleware_object, $message = '', $code = 0, \Exception $previous = null)
34
-    {
35
-        $command_bus_middleware = is_object($command_bus_middleware_object)
36
-            ? get_class($command_bus_middleware_object)
37
-            : gettype($command_bus_middleware_object);
38
-
39
-        if (empty($message)) {
40
-            $message = sprintf(
41
-                __('The supplied Command Bus Middleware "%1$s" does not have a valid name. It should be in the following format: "{CommandName}Handler" ',
42
-                    'event_espresso'),
43
-                $command_bus_middleware
44
-            );
45
-        }
46
-        parent::__construct(
47
-            '$command_bus_middleware',
48
-            $command_bus_middleware,
49
-            'CommandBusMiddlewareInterface',
50
-            $message,
51
-            $code,
52
-            $previous
53
-        );
54
-    }
26
+	/**
27
+	 * @access public
28
+	 * @param  mixed     $command_bus_middleware_object
29
+	 * @param  string    $message
30
+	 * @param int        $code
31
+	 * @param \Exception $previous
32
+	 */
33
+	public function __construct($command_bus_middleware_object, $message = '', $code = 0, \Exception $previous = null)
34
+	{
35
+		$command_bus_middleware = is_object($command_bus_middleware_object)
36
+			? get_class($command_bus_middleware_object)
37
+			: gettype($command_bus_middleware_object);
38
+
39
+		if (empty($message)) {
40
+			$message = sprintf(
41
+				__('The supplied Command Bus Middleware "%1$s" does not have a valid name. It should be in the following format: "{CommandName}Handler" ',
42
+					'event_espresso'),
43
+				$command_bus_middleware
44
+			);
45
+		}
46
+		parent::__construct(
47
+			'$command_bus_middleware',
48
+			$command_bus_middleware,
49
+			'CommandBusMiddlewareInterface',
50
+			$message,
51
+			$code,
52
+			$previous
53
+		);
54
+	}
55 55
 
56 56
 
57 57
 }
Please login to merge, or discard this patch.
core/services/commands/ticket/CancelTicketLineItemCommand.php 1 patch
Indentation   +116 added lines, -116 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 use EventEspresso\core\services\commands\Command;
5 5
 
6 6
 if ( ! defined('EVENT_ESPRESSO_VERSION')) {
7
-    exit('No direct script access allowed');
7
+	exit('No direct script access allowed');
8 8
 }
9 9
 
10 10
 
@@ -21,121 +21,121 @@  discard block
 block discarded – undo
21 21
 {
22 22
 
23 23
 
24
-    /**
25
-     * @var \EE_Transaction $transaction
26
-     */
27
-    private $transaction;
28
-
29
-    /**
30
-     * @var \EE_Ticket $ticket
31
-     */
32
-    private $ticket;
33
-
34
-    /**
35
-     * @var \EE_Line_Item $ticket_line_item
36
-     */
37
-    protected $ticket_line_item;
38
-
39
-    /**
40
-     * @var int $quantity
41
-     */
42
-    protected $quantity;
43
-
44
-
45
-
46
-    /**
47
-     * @param \EE_Registration $registration
48
-     * @param int              $quantity
49
-     */
50
-    public static function fromRegistration(\EE_Registration $registration, $quantity = 1)
51
-    {
52
-        new self(
53
-            $registration->transaction(),
54
-            $registration->ticket(),
55
-            1,
56
-            $registration->ticket_line_item()
57
-        );
58
-    }
59
-
60
-
61
-
62
-    /**
63
-     * @param \EE_Line_Item $ticket_line_item
64
-     * @param int           $quantity
65
-     */
66
-    public static function fromTicketLineItem(
67
-        \EE_Line_Item $ticket_line_item,
68
-        $quantity = 1
69
-    ) {
70
-        new self(
71
-            $ticket_line_item->transaction(),
72
-            $ticket_line_item->ticket(),
73
-            $quantity,
74
-            $ticket_line_item
75
-        );
76
-    }
77
-
78
-
79
-
80
-    /**
81
-     * CancelTicketLineItemCommand constructor.
82
-     *
83
-     * @param \EE_Transaction $transaction
84
-     * @param \EE_Ticket      $ticket
85
-     * @param int             $quantity
86
-     * @param \EE_Line_Item   $ticket_line_item
87
-     */
88
-    public function __construct(
89
-        \EE_Transaction $transaction,
90
-        \EE_Ticket $ticket,
91
-        $quantity = 1,
92
-        \EE_Line_Item $ticket_line_item = null
93
-    ) {
94
-        $this->transaction = $transaction;
95
-        $this->ticket = $ticket;
96
-        $this->quantity = min(1, absint($quantity));
97
-        $this->ticket_line_item = $ticket_line_item;
98
-    }
99
-
100
-
101
-
102
-    /**
103
-     * @return \EE_Transaction
104
-     */
105
-    public function transaction()
106
-    {
107
-        return $this->transaction;
108
-    }
109
-
110
-
111
-
112
-    /**
113
-     * @return \EE_Ticket
114
-     */
115
-    public function ticket()
116
-    {
117
-        return $this->ticket;
118
-    }
119
-
120
-
121
-
122
-    /**
123
-     * @return \EE_Line_Item
124
-     */
125
-    public function ticketLineItem()
126
-    {
127
-        return $this->ticket_line_item;
128
-    }
129
-
130
-
131
-
132
-    /**
133
-     * @return int
134
-     */
135
-    public function quantity()
136
-    {
137
-        return $this->quantity;
138
-    }
24
+	/**
25
+	 * @var \EE_Transaction $transaction
26
+	 */
27
+	private $transaction;
28
+
29
+	/**
30
+	 * @var \EE_Ticket $ticket
31
+	 */
32
+	private $ticket;
33
+
34
+	/**
35
+	 * @var \EE_Line_Item $ticket_line_item
36
+	 */
37
+	protected $ticket_line_item;
38
+
39
+	/**
40
+	 * @var int $quantity
41
+	 */
42
+	protected $quantity;
43
+
44
+
45
+
46
+	/**
47
+	 * @param \EE_Registration $registration
48
+	 * @param int              $quantity
49
+	 */
50
+	public static function fromRegistration(\EE_Registration $registration, $quantity = 1)
51
+	{
52
+		new self(
53
+			$registration->transaction(),
54
+			$registration->ticket(),
55
+			1,
56
+			$registration->ticket_line_item()
57
+		);
58
+	}
59
+
60
+
61
+
62
+	/**
63
+	 * @param \EE_Line_Item $ticket_line_item
64
+	 * @param int           $quantity
65
+	 */
66
+	public static function fromTicketLineItem(
67
+		\EE_Line_Item $ticket_line_item,
68
+		$quantity = 1
69
+	) {
70
+		new self(
71
+			$ticket_line_item->transaction(),
72
+			$ticket_line_item->ticket(),
73
+			$quantity,
74
+			$ticket_line_item
75
+		);
76
+	}
77
+
78
+
79
+
80
+	/**
81
+	 * CancelTicketLineItemCommand constructor.
82
+	 *
83
+	 * @param \EE_Transaction $transaction
84
+	 * @param \EE_Ticket      $ticket
85
+	 * @param int             $quantity
86
+	 * @param \EE_Line_Item   $ticket_line_item
87
+	 */
88
+	public function __construct(
89
+		\EE_Transaction $transaction,
90
+		\EE_Ticket $ticket,
91
+		$quantity = 1,
92
+		\EE_Line_Item $ticket_line_item = null
93
+	) {
94
+		$this->transaction = $transaction;
95
+		$this->ticket = $ticket;
96
+		$this->quantity = min(1, absint($quantity));
97
+		$this->ticket_line_item = $ticket_line_item;
98
+	}
99
+
100
+
101
+
102
+	/**
103
+	 * @return \EE_Transaction
104
+	 */
105
+	public function transaction()
106
+	{
107
+		return $this->transaction;
108
+	}
109
+
110
+
111
+
112
+	/**
113
+	 * @return \EE_Ticket
114
+	 */
115
+	public function ticket()
116
+	{
117
+		return $this->ticket;
118
+	}
119
+
120
+
121
+
122
+	/**
123
+	 * @return \EE_Line_Item
124
+	 */
125
+	public function ticketLineItem()
126
+	{
127
+		return $this->ticket_line_item;
128
+	}
129
+
130
+
131
+
132
+	/**
133
+	 * @return int
134
+	 */
135
+	public function quantity()
136
+	{
137
+		return $this->quantity;
138
+	}
139 139
 
140 140
 
141 141
 }
Please login to merge, or discard this patch.
core/exceptions/ExceptionLogger.php 1 patch
Spacing   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace EventEspresso\core\exceptions;
3 3
 
4
-if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) {
5
-	exit( 'No direct script access allowed' );
4
+if ( ! defined('EVENT_ESPRESSO_VERSION')) {
5
+	exit('No direct script access allowed');
6 6
 }
7 7
 
8 8
 
@@ -24,8 +24,8 @@  discard block
 block discarded – undo
24 24
 	 *
25 25
 	 * @param \Exception $exception
26 26
 	 */
27
-	public function __construct( \Exception $exception ) {
28
-		$this->log( $exception );
27
+	public function __construct(\Exception $exception) {
28
+		$this->log($exception);
29 29
 	}
30 30
 
31 31
 
@@ -36,22 +36,22 @@  discard block
 block discarded – undo
36 36
 	 * @param \Exception $exception
37 37
 	 * @param int        $time
38 38
 	 */
39
-	public function log( \Exception $exception, $time = 0 ) {
40
-		if ( ! $time ) {
39
+	public function log(\Exception $exception, $time = 0) {
40
+		if ( ! $time) {
41 41
 			$time = time();
42 42
 		}
43 43
 		$exception_log = '----------------------------------------------------------------------------------------';
44 44
 		$exception_log .= PHP_EOL;
45
-		$exception_log .= '[' . date( 'Y-m-d H:i:s', $time ) . ']  Exception Details' . PHP_EOL;
46
-		$exception_log .= 'Message: ' . $exception->getMessage() . PHP_EOL;
47
-		$exception_log .= 'Code: ' . $exception->getCode() . PHP_EOL;
48
-		$exception_log .= 'File: ' . $exception->getFile() . PHP_EOL;
49
-		$exception_log .= 'Line No: ' . $exception->getLine() . PHP_EOL;
50
-		$exception_log .= 'Stack trace: ' . PHP_EOL;
51
-		$exception_log .= $exception->getTraceAsString() . PHP_EOL;
45
+		$exception_log .= '['.date('Y-m-d H:i:s', $time).']  Exception Details'.PHP_EOL;
46
+		$exception_log .= 'Message: '.$exception->getMessage().PHP_EOL;
47
+		$exception_log .= 'Code: '.$exception->getCode().PHP_EOL;
48
+		$exception_log .= 'File: '.$exception->getFile().PHP_EOL;
49
+		$exception_log .= 'Line No: '.$exception->getLine().PHP_EOL;
50
+		$exception_log .= 'Stack trace: '.PHP_EOL;
51
+		$exception_log .= $exception->getTraceAsString().PHP_EOL;
52 52
 		$exception_log .= '----------------------------------------------------------------------------------------';
53
-		$exception_log .=  PHP_EOL;
54
-		error_log( $exception_log );
53
+		$exception_log .= PHP_EOL;
54
+		error_log($exception_log);
55 55
 	}
56 56
 
57 57
 }
Please login to merge, or discard this patch.
core/services/container/exceptions/ServiceNotFoundException.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 namespace EventEspresso\core\services\container\exceptions;
3 3
 
4 4
 if ( ! defined('EVENT_ESPRESSO_VERSION')) {
5
-    exit('No direct script access allowed');
5
+	exit('No direct script access allowed');
6 6
 }
7 7
 
8 8
 
@@ -18,28 +18,28 @@  discard block
 block discarded – undo
18 18
 class ServiceNotFoundException extends \RuntimeException
19 19
 {
20 20
 
21
-    /**
22
-     * ServiceNotFoundException constructor
23
-     *
24
-     * @param string     $service_name the name of the requested service
25
-     * @param string     $message
26
-     * @param int        $code
27
-     * @param \Exception $previous
28
-     */
29
-    public function __construct(
30
-        $service_name,
31
-        $message = '',
32
-        $code = 0,
33
-        \Exception $previous = null
34
-    ) {
35
-        if (empty($message)) {
36
-            $message = sprintf(
37
-                __('The requested service "%1$s" could not found be found in the CoffeeShop.', 'event_espresso'),
38
-                $service_name
39
-            );
40
-        }
41
-        parent::__construct($message, $code, $previous);
42
-    }
21
+	/**
22
+	 * ServiceNotFoundException constructor
23
+	 *
24
+	 * @param string     $service_name the name of the requested service
25
+	 * @param string     $message
26
+	 * @param int        $code
27
+	 * @param \Exception $previous
28
+	 */
29
+	public function __construct(
30
+		$service_name,
31
+		$message = '',
32
+		$code = 0,
33
+		\Exception $previous = null
34
+	) {
35
+		if (empty($message)) {
36
+			$message = sprintf(
37
+				__('The requested service "%1$s" could not found be found in the CoffeeShop.', 'event_espresso'),
38
+				$service_name
39
+			);
40
+		}
41
+		parent::__construct($message, $code, $previous);
42
+	}
43 43
 }
44 44
 // End of file ServiceNotFoundException.php
45 45
 // Location: /ServiceNotFoundException.php
46 46
\ No newline at end of file
Please login to merge, or discard this patch.
core/services/container/exceptions/ServiceExistsException.php 1 patch
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 namespace EventEspresso\core\services\container\exceptions;
3 3
 
4 4
 if ( ! defined('EVENT_ESPRESSO_VERSION')) {
5
-    exit('No direct script access allowed');
5
+	exit('No direct script access allowed');
6 6
 }
7 7
 
8 8
 
@@ -19,28 +19,28 @@  discard block
 block discarded – undo
19 19
 {
20 20
 
21 21
 
22
-    /**
23
-     * ServiceExistsException constructor
24
-     *
25
-     * @param string     $service_name the name of the requested service
26
-     * @param string     $message
27
-     * @param int        $code
28
-     * @param \Exception $previous
29
-     */
30
-    public function __construct(
31
-        $service_name,
32
-        $message = '',
33
-        $code = 0,
34
-        \Exception $previous = null
35
-    ) {
36
-        if (empty($message)) {
37
-            $message = sprintf(
38
-                __('The "%1$s" service already exists in the CoffeeShop and can not be added again.', 'event_espresso'),
39
-                $service_name
40
-            );
41
-        }
42
-        parent::__construct($message, $code, $previous);
43
-    }
22
+	/**
23
+	 * ServiceExistsException constructor
24
+	 *
25
+	 * @param string     $service_name the name of the requested service
26
+	 * @param string     $message
27
+	 * @param int        $code
28
+	 * @param \Exception $previous
29
+	 */
30
+	public function __construct(
31
+		$service_name,
32
+		$message = '',
33
+		$code = 0,
34
+		\Exception $previous = null
35
+	) {
36
+		if (empty($message)) {
37
+			$message = sprintf(
38
+				__('The "%1$s" service already exists in the CoffeeShop and can not be added again.', 'event_espresso'),
39
+				$service_name
40
+			);
41
+		}
42
+		parent::__construct($message, $code, $previous);
43
+	}
44 44
 
45 45
 
46 46
 }
Please login to merge, or discard this patch.
core/services/container/exceptions/InvalidServiceException.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 namespace EventEspresso\core\services\container\exceptions;
3 3
 
4 4
 if ( ! defined('EVENT_ESPRESSO_VERSION')) {
5
-    exit('No direct script access allowed');
5
+	exit('No direct script access allowed');
6 6
 }
7 7
 
8 8
 
@@ -18,29 +18,29 @@  discard block
 block discarded – undo
18 18
 class InvalidServiceException extends \UnexpectedValueException
19 19
 {
20 20
 
21
-    /**
22
-     * InvalidServiceException constructor.
23
-     *
24
-     * @param string     $service_name the name of the requested service
25
-     * @param string     $actual       classname of what we got
26
-     * @param string     $message
27
-     * @param int        $code
28
-     * @param \Exception $previous
29
-     */
30
-    public function __construct($service_name, $actual, $message = '', $code = 0, \Exception $previous = null)
31
-    {
32
-        if (empty($message)) {
33
-            $message = sprintf(
34
-                __(
35
-                    'The "%1$s" service could not be retrieved from the CoffeeShop, but "%2$s" was received.',
36
-                    'event_espresso'
37
-                ),
38
-                $service_name,
39
-                print_r($actual, true)
40
-            );
41
-        }
42
-        parent::__construct($message, $code, $previous);
43
-    }
21
+	/**
22
+	 * InvalidServiceException constructor.
23
+	 *
24
+	 * @param string     $service_name the name of the requested service
25
+	 * @param string     $actual       classname of what we got
26
+	 * @param string     $message
27
+	 * @param int        $code
28
+	 * @param \Exception $previous
29
+	 */
30
+	public function __construct($service_name, $actual, $message = '', $code = 0, \Exception $previous = null)
31
+	{
32
+		if (empty($message)) {
33
+			$message = sprintf(
34
+				__(
35
+					'The "%1$s" service could not be retrieved from the CoffeeShop, but "%2$s" was received.',
36
+					'event_espresso'
37
+				),
38
+				$service_name,
39
+				print_r($actual, true)
40
+			);
41
+		}
42
+		parent::__construct($message, $code, $previous);
43
+	}
44 44
 
45 45
 }
46 46
 // End of file InvalidServiceException.php
Please login to merge, or discard this patch.
general_settings/templates/your_organization_settings.template.php 1 patch
Spacing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <div class="padding">
2 2
 	<?php
3 3
 		//we'll only show site-license keys if this is main_site() (which works for both multi-site and single-site wp installations)
4
-		if ( is_main_site() ) { ?>
4
+		if (is_main_site()) { ?>
5 5
 		<h2 class="ee-admin-settings-hdr" style="width:300px;">
6 6
 			<?php _e('Your Event Espresso License Key', 'event_espresso'); ?>
7 7
 		</h2>
@@ -11,13 +11,13 @@  discard block
 block discarded – undo
11 11
 				<tr <?php echo isset($_REQUEST['license_key']) && $_REQUEST['license_key'] == true ? 'class="yellow_alert"' : '' ?>>
12 12
 					<th>
13 13
 						<label for="site_license_key">
14
-							<?php _e('Support License Key', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('site_license_key_info');?>
14
+							<?php _e('Support License Key', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('site_license_key_info'); ?>
15 15
 						</label>
16 16
 					</th>
17 17
 					<td>
18 18
 						<input name="site_license_key" id="site_license_key" size="10" class="regular-text" type="text" value="<?php echo $site_license_key; ?>" /><?php echo $site_license_key_verified; ?><br/>
19 19
 						<p class="description">
20
-							<?php printf( __('Adding a valid Support License Key will enable automatic update notifications and backend updates for Event Espresso Core and any installed add-ons. If this is a Development or Test site, %sDO NOT%s enter your Support License Key.', 'event_espresso'), '<strong>', '</strong>' ); ?>
20
+							<?php printf(__('Adding a valid Support License Key will enable automatic update notifications and backend updates for Event Espresso Core and any installed add-ons. If this is a Development or Test site, %sDO NOT%s enter your Support License Key.', 'event_espresso'), '<strong>', '</strong>'); ?>
21 21
 						</p>
22 22
 					</td>
23 23
 				</tr>
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
 
32 32
 	<h2 id="contact_info_h4" class="ee-admin-settings-hdr">
33
-		<?php _e('Contact Information', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('contact_info_info');?>
33
+		<?php _e('Contact Information', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('contact_info_info'); ?>
34 34
 	</h2>
35 35
 
36 36
 	<table class="form-table">
@@ -78,8 +78,8 @@  discard block
 block discarded – undo
78 78
 					<input id="organization_city" class="regular-text" type="text" name="organization_city" value="<?php echo $organization_city; ?>" />
79 79
 				</td>
80 80
 			</tr>
81
-			<?php echo EEH_Form_Fields::generate_form_input( $states ); ?>
82
-			<?php echo EEH_Form_Fields::generate_form_input( $countries ); ?>
81
+			<?php echo EEH_Form_Fields::generate_form_input($states); ?>
82
+			<?php echo EEH_Form_Fields::generate_form_input($countries); ?>
83 83
 			<tr>
84 84
 				<th>
85 85
 					<label for="organization_zip">
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 				<td>
100 100
 					<input class="regular-text" type="text" name="organization_email" value="<?php echo $organization_email; ?>" />
101 101
 					<p class="description">
102
-						<?php echo sprintf( esc_html__('This is where notifications go to when you use the %1$s and %2$s shortcodes in the message templates.', 'event_espresso'), '<code>[CO_FORMATTED_EMAIL]</code>', '<code>[CO_EMAIL]</code>' ); ?>
102
+						<?php echo sprintf(esc_html__('This is where notifications go to when you use the %1$s and %2$s shortcodes in the message templates.', 'event_espresso'), '<code>[CO_FORMATTED_EMAIL]</code>', '<code>[CO_EMAIL]</code>'); ?>
103 103
 					</p>
104 104
 				</td>
105 105
 			</tr>
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 	</table>
134 134
 
135 135
 	<h2 class="ee-admin-settings-hdr">
136
-		<?php _e('Company Logo', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('organization_logo_info');?>
136
+		<?php _e('Company Logo', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('organization_logo_info'); ?>
137 137
 	</h2>
138 138
 
139 139
 	<table class="form-table">
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 				</th>
162 162
 				<td>
163 163
 					<?php
164
-					if ( $organization_logo_url ) {
164
+					if ($organization_logo_url) {
165 165
 						?>
166 166
 						<p id="default-logo-thumb">
167 167
 							<img id="current-image-thumb" src="<?php echo $organization_logo_url ?>" alt="" /><br />
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
 	<br/><br/>
180 180
 
181 181
 	<h2 class="ee-admin-settings-hdr">
182
-		<?php _e('Social Links', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('social_links_info');?>
182
+		<?php _e('Social Links', 'event_espresso'); ?> <?php echo EEH_Template::get_help_tab_link('social_links_info'); ?>
183 183
 	</h2>
184 184
 	<p class="description"><?php _e('Enter any links to social accounts for your organization here', 'event_espresso'); ?></p>
185 185
 
@@ -256,9 +256,9 @@  discard block
 block discarded – undo
256 256
 	<br/><br/>
257 257
 
258 258
 
259
-	<?php if ( is_main_site() ) : ?>
259
+	<?php if (is_main_site()) : ?>
260 260
 		<p>
261
-			<?php echo  EE_PUE::espresso_data_collection_optin_text( FALSE ); ?>
261
+			<?php echo  EE_PUE::espresso_data_collection_optin_text(FALSE); ?>
262 262
 		</p>
263 263
 
264 264
 		<table class="form-table">
@@ -272,11 +272,11 @@  discard block
 block discarded – undo
272 272
 					</th>
273 273
 					<td>
274 274
 						<?php
275
-							$values=array(
276
-								array('id'=>'yes','text'=> __('Yes! I want to help improve Event Espresso!','event_espresso')),
277
-								array('id'=>'no','text'=> __('Not at this time. Maybe later.','event_espresso'))
275
+							$values = array(
276
+								array('id'=>'yes', 'text'=> __('Yes! I want to help improve Event Espresso!', 'event_espresso')),
277
+								array('id'=>'no', 'text'=> __('Not at this time. Maybe later.', 'event_espresso'))
278 278
 							);
279
-							echo EEH_Form_Fields::select_input('ueip_optin', $values, !empty($ee_ueip_optin) ? $ee_ueip_optin : 'yes');
279
+							echo EEH_Form_Fields::select_input('ueip_optin', $values, ! empty($ee_ueip_optin) ? $ee_ueip_optin : 'yes');
280 280
 						?>
281 281
 					</td>
282 282
 				</tr>
Please login to merge, or discard this patch.
pricing/templates/event_tickets_datetime_attached_tickets_row.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 				</table>
52 52
 				<div class="ee-editor-footer-container">
53 53
 					<div class="ee-editor-id-container">
54
-						<span class="ee-item-id"><?php echo $DTT_ID ? sprintf( esc_html__( 'Datetime ID: %d', 'event_espresso' ), $DTT_ID ) : ''; ?></span>
54
+						<span class="ee-item-id"><?php echo $DTT_ID ? sprintf(esc_html__('Datetime ID: %d', 'event_espresso'), $DTT_ID) : ''; ?></span>
55 55
 					</div>
56 56
 					<div class="save-cancel-button-container">
57 57
 						<button data-context="short-ticket" data-datetime-row="<?php echo $dtt_row; ?>" class="button-primary ee-create-button">
Please login to merge, or discard this patch.
caffeinated/payment_methods/Aim/templates/aim_intro.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,1 +1,1 @@
 block discarded – undo
1
-<?php printf( esc_html__('Authorize.Net AIM is an on-site payment method for accepting credit and debit card payments and is available to event organizers in the United States, Canada, United Kingdom, and Australia. An account with Authorize.Net is required to accept payments. Need an Authorize.Net account? %1$sClick here to sign up for a merchant account%2$s.', 'event_espresso'), '<a href="https://eventespresso.com/go/authorizenetaim/" target="_blank">','</a>' );
2 1
\ No newline at end of file
2
+<?php printf(esc_html__('Authorize.Net AIM is an on-site payment method for accepting credit and debit card payments and is available to event organizers in the United States, Canada, United Kingdom, and Australia. An account with Authorize.Net is required to accept payments. Need an Authorize.Net account? %1$sClick here to sign up for a merchant account%2$s.', 'event_espresso'), '<a href="https://eventespresso.com/go/authorizenetaim/" target="_blank">', '</a>');
3 3
\ No newline at end of file
Please login to merge, or discard this patch.