Completed
Branch BUG-10008-migration-stalling (f3f3da)
by
unknown
15:47
created
single_page_checkout/reg_steps/payment_options/sold_out_events.template.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 
2
-	<h4 class="ee-status sold-out"><b><?php _e('Sold Out', 'event_espresso');?></b></h4>
2
+	<h4 class="ee-status sold-out"><b><?php _e('Sold Out', 'event_espresso'); ?></b></h4>
3 3
 	<ul id="spco-sold-out-events-ul"><?php echo $sold_out_events; ?></ul>
4
-	<h6 class="pink-text"><?php _e("We're Sorry", 'event_espresso');?></h6>
4
+	<h6 class="pink-text"><?php _e("We're Sorry", 'event_espresso'); ?></h6>
5 5
 	<p id="events-requiring-pre-approval-pg" class="small-text drk-grey-text">
6 6
 		<?php echo $sold_out_events_msg; ?>
7 7
 	</p>
8 8
 
9
-	<?php echo $default_hidden_inputs;  ?>
10
-	<?php echo $extra_hidden_inputs;  ?>
9
+	<?php echo $default_hidden_inputs; ?>
10
+	<?php echo $extra_hidden_inputs; ?>
Please login to merge, or discard this patch.
EE_SPCO_Reg_Step_Registration_Confirmation.class.php 3 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php if ( ! defined('EVENT_ESPRESSO_VERSION')) { exit('No direct script access allowed'); }
2 2
  /**
3
- *
4
- * Class EE_SPCO_Reg_Step_Registration_Confirmation
5
- *
6
- * Description
7
- *
8
- * @package 			Event Espresso
9
- * @subpackage 	core
10
- * @author 				Brent Christensen
11
- * @since 				4.5.0
12
- *
13
- */
3
+  *
4
+  * Class EE_SPCO_Reg_Step_Registration_Confirmation
5
+  *
6
+  * Description
7
+  *
8
+  * @package 			Event Espresso
9
+  * @subpackage 	core
10
+  * @author 				Brent Christensen
11
+  * @since 				4.5.0
12
+  *
13
+  */
14 14
 class EE_SPCO_Reg_Step_Registration_Confirmation extends EE_SPCO_Reg_Step {
15 15
 
16 16
 	/**
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,10 +20,10 @@  discard block
 block discarded – undo
20 20
 	 * @param    EE_Checkout $checkout
21 21
 	 * @return 	\EE_SPCO_Reg_Step_Registration_Confirmation
22 22
 	 */
23
-	public function __construct( EE_Checkout $checkout ) {
23
+	public function __construct(EE_Checkout $checkout) {
24 24
 		$this->_slug = 'registration_confirmation';
25 25
 		$this->_name = __('Registration Confirmation', 'event_espresso');
26
-		$this->_template = SPCO_REG_STEPS_PATH . $this->_slug . DS . 'registration_page_confirmation.template.php';
26
+		$this->_template = SPCO_REG_STEPS_PATH.$this->_slug.DS.'registration_page_confirmation.template.php';
27 27
 		$this->checkout = $checkout;
28 28
 	}
29 29
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 	 * @return boolean
44 44
 	 */
45 45
 	public function initialize_reg_step() {
46
-		$this->checkout->remove_reg_step( $this->_slug );
46
+		$this->checkout->remove_reg_step($this->_slug);
47 47
 	}
48 48
 
49 49
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
 
44 44
 	/**
45
-	 * @return boolean
45
+	 * @return boolean|null
46 46
 	 */
47 47
 	public function initialize_reg_step() {
48 48
 
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 
170 170
 
171 171
 	/**
172
-	 * @return boolean
172
+	 * @return boolean|null
173 173
 	 */
174 174
 	public function update_reg_step() {
175 175
 		EE_Error::doing_it_wrong( __CLASS__ . '::' . __FILE__, __( 'Can not call update_reg_step() on the Finalize Registration reg step.', 'event_espresso'), '4.6.0' );
Please login to merge, or discard this patch.
single_page_checkout/templates/registration_page_wrapper.template.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@  discard block
 block discarded – undo
1 1
 <div id="ee-single-page-checkout-dv" class="">
2
-	<?php if ( apply_filters(
2
+	<?php if (apply_filters(
3 3
 			'FHEE__registration_page_wrapper_template__display_time_limit',
4
-			FALSE ) ) { ?>
4
+			FALSE )) { ?>
5 5
 	<p id="spco-registration-time-limit-pg" class="spco-steps-pg ee-attention important-notice">
6 6
 		<?php echo sprintf(
7 7
 			apply_filters(
8 8
 				'FHEE__registration_page_wrapper_template___time_limit',
9 9
 				__('You have %1$s to complete your registration.', 'event_espresso')
10 10
 			),
11
-			'<span id="spco-registration-time-limit-spn" class="spco-registration-time-limit-spn">' . $registration_time_limit	. '</span>'
11
+			'<span id="spco-registration-time-limit-spn" class="spco-registration-time-limit-spn">'.$registration_time_limit.'</span>'
12 12
 		);
13 13
 		?>
14 14
 		<span id="spco-registration-expiration-spn" class=""
@@ -16,27 +16,27 @@  discard block
 block discarded – undo
16 16
 	</p>
17 17
 	<?php } ?>
18 18
 	<?php
19
-if ( ! $empty_cart ) {
20
-	if ( ! $revisit && apply_filters( 'FHEE__registration_page_wrapper_template__steps_display', TRUE )) {
19
+if ( ! $empty_cart) {
20
+	if ( ! $revisit && apply_filters('FHEE__registration_page_wrapper_template__steps_display', TRUE)) {
21 21
 ?>
22 22
 	<h2 id="spco-steps-big-hdr" class="spco-steps-big-hdr"><?php _e(' Steps', 'event_espresso'); ?></h2>
23 23
 
24 24
 	<div id="spco-steps-display-dv">
25 25
 	<?php
26 26
 		$step_nmbr = 1;
27
-		$total_steps = count( $reg_steps ) - 1;
28
-		foreach ( $reg_steps as $reg_step ) {
29
-			if ( $reg_step instanceof EE_SPCO_Reg_Step && $reg_step->slug() != 'finalize_registration' ) {
27
+		$total_steps = count($reg_steps) - 1;
28
+		foreach ($reg_steps as $reg_step) {
29
+			if ($reg_step instanceof EE_SPCO_Reg_Step && $reg_step->slug() != 'finalize_registration') {
30 30
 				$slug = $reg_step->slug();
31 31
 				$step_display_dv_class = $reg_step->is_current_step() ? 'active-step' : 'inactive-step';
32 32
 		?>
33 33
 		<div id="spco-step-<?php echo $slug; ?>-display-dv" class="spco-step-display-dv <?php echo $step_display_dv_class; ?> steps-<?php echo $total_steps; ?>">
34 34
 			<h4 id="spco-step-<?php echo $slug; ?>-display-hdr" class="spco-steps-display-hdr">
35
-				<span class="spco-step-big-nmbr"><?php echo $step_nmbr; ?></span>&nbsp;<span class="spco-step-name"><?php echo str_replace( '&nbsp;', '<br/>&nbsp;', $reg_step->name() ); ?></span>
35
+				<span class="spco-step-big-nmbr"><?php echo $step_nmbr; ?></span>&nbsp;<span class="spco-step-name"><?php echo str_replace('&nbsp;', '<br/>&nbsp;', $reg_step->name()); ?></span>
36 36
 			</h4>
37 37
 		</div>
38 38
 
39
-		<?php if ( $step_nmbr < $total_steps ) { ?>
39
+		<?php if ($step_nmbr < $total_steps) { ?>
40 40
 		<div class="spco-step-arrow-dv">&raquo;</div>
41 41
 		<?php
42 42
 				}
@@ -50,22 +50,22 @@  discard block
 block discarded – undo
50 50
 	<?php
51 51
 	}
52 52
 
53
-	do_action( 'AHEE__SPCO__before_registration_steps' );
53
+	do_action('AHEE__SPCO__before_registration_steps');
54 54
 	$step_nmbr = 1;
55
-	foreach ( $reg_steps as $reg_step ) {
56
-		if ( $reg_step instanceof EE_SPCO_Reg_Step && $reg_step->slug() != 'finalize_registration' ) {
55
+	foreach ($reg_steps as $reg_step) {
56
+		if ($reg_step instanceof EE_SPCO_Reg_Step && $reg_step->slug() != 'finalize_registration') {
57 57
 			$slug = $reg_step->slug();
58
-			do_action( 'AHEE__' . $slug . '__reg_step_start', $reg_step );
58
+			do_action('AHEE__'.$slug.'__reg_step_start', $reg_step);
59 59
 			// todo: deprecate hook AHEE__registration_page_attendee_information__start
60 60
 	?>
61 61
 		<div id="spco-<?php echo $slug; ?>-dv" class="spco-step-dv <?php echo $reg_step->div_class(); ?>">
62 62
 			<?php echo $reg_step->display_reg_form(); ?>
63
-			<?php do_action( 'AHEE__SPCO_after_reg_step_form', $slug, $next_step ); ?>
63
+			<?php do_action('AHEE__SPCO_after_reg_step_form', $slug, $next_step); ?>
64 64
 		</div>
65 65
 			<?php $step_nmbr++;
66 66
 		}
67 67
 	}
68
-	do_action( 'AHEE__SPCO__after_registration_steps' );
68
+	do_action('AHEE__SPCO__after_registration_steps');
69 69
 
70 70
 } else {
71 71
 ?>
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 	<?php echo $cookies_not_set_msg; ?>
75 75
 <?php
76 76
 }
77
-do_action( 'AHEE__SPCO__reg_form_footer' );
77
+do_action('AHEE__SPCO__reg_form_footer');
78 78
 ?>
79 79
 
80 80
 </div>
Please login to merge, or discard this patch.
payment_methods/Admin_Only/EE_PMT_Admin_Only.pm.php 3 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -2,16 +2,16 @@
 block discarded – undo
2 2
 if (!defined('EVENT_ESPRESSO_VERSION'))
3 3
 	exit('No direct script access allowed');
4 4
 /**
5
- *
6
- * EE_PMT_Admin_Only.
7
- * These payment methods really shouldn't be shown on frontend and contain nearly no functionality.
8
- * They should just be used admin-side for recording payments like Cash, Check, etc.
9
- *
10
- * @package			Event Espresso
11
- * @subpackage
12
- * @author				Mike Nelson
13
- *
14
- */
5
+	 *
6
+	 * EE_PMT_Admin_Only.
7
+	 * These payment methods really shouldn't be shown on frontend and contain nearly no functionality.
8
+	 * They should just be used admin-side for recording payments like Cash, Check, etc.
9
+	 *
10
+	 * @package			Event Espresso
11
+	 * @subpackage
12
+	 * @author				Mike Nelson
13
+	 *
14
+	 */
15 15
 class EE_PMT_Admin_Only extends EE_PMT_Base{
16 16
 
17 17
 
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if (!defined('EVENT_ESPRESSO_VERSION'))
2
+if ( ! defined('EVENT_ESPRESSO_VERSION'))
3 3
 	exit('No direct script access allowed');
4 4
 /**
5 5
  *
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
  * @author				Mike Nelson
13 13
  *
14 14
  */
15
-class EE_PMT_Admin_Only extends EE_PMT_Base{
15
+class EE_PMT_Admin_Only extends EE_PMT_Base {
16 16
 
17 17
 
18 18
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	 * @param \EE_Transaction $transaction
35 35
 	 * @return NULL
36 36
 	 */
37
-	public function generate_new_billing_form( EE_Transaction $transaction = NULL ) {
37
+	public function generate_new_billing_form(EE_Transaction $transaction = NULL) {
38 38
 		return NULL;
39 39
 	}
40 40
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (!defined('EVENT_ESPRESSO_VERSION'))
3
+if (!defined('EVENT_ESPRESSO_VERSION')) {
4 4
 	exit('No direct script access allowed');
5
+}
5 6
 /**
6 7
  * Event Espresso
7 8
  *
Please login to merge, or discard this patch.
payment_methods/Bank/templates/bank_payment_details_content.template.php 3 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -3,27 +3,27 @@
 block discarded – undo
3 3
 if (!defined('EVENT_ESPRESSO_VERSION'))
4 4
 	exit('No direct script access allowed');
5 5
 /**
6
- * Event Espresso
7
- *
8
- * Event Registration and Management Plugin for WordPress
9
- *
10
- * @ package			Event Espresso
11
- * @ author			Seth Shoultes
12
- * @ copyright		(c) 2008-2011 Event Espresso  All Rights Reserved.
13
- * @ license			http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
14
- * @ link					http://www.eventespresso.com
15
- * @ version		 	4.3
16
- *
17
- * ------------------------------------------------------------------------
18
- *
19
- * bank_payment_overview_content
20
- *
21
- * @package			Event Espresso
22
- * @subpackage
23
- * @author				Mike Nelson
24
- *
25
- * ------------------------------------------------------------------------
26
- */
6
+	 * Event Espresso
7
+	 *
8
+	 * Event Registration and Management Plugin for WordPress
9
+	 *
10
+	 * @ package			Event Espresso
11
+	 * @ author			Seth Shoultes
12
+	 * @ copyright		(c) 2008-2011 Event Espresso  All Rights Reserved.
13
+	 * @ license			http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
14
+	 * @ link					http://www.eventespresso.com
15
+	 * @ version		 	4.3
16
+	 *
17
+	 * ------------------------------------------------------------------------
18
+	 *
19
+	 * bank_payment_overview_content
20
+	 *
21
+	 * @package			Event Espresso
22
+	 * @subpackage
23
+	 * @author				Mike Nelson
24
+	 *
25
+	 * ------------------------------------------------------------------------
26
+	 */
27 27
 ?><div class="event-display-boxes">
28 28
 			<h4 id="page_title" class="payment_type_title section-heading"><?php echo $page_title ?></h4>
29 29
 				<p class="instruct"><?php echo wpautop( $payment_instructions ) ?></p>
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (!defined('EVENT_ESPRESSO_VERSION'))
3
+if ( ! defined('EVENT_ESPRESSO_VERSION'))
4 4
 	exit('No direct script access allowed');
5 5
 /**
6 6
  * Event Espresso
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
  */
27 27
 ?><div class="event-display-boxes">
28 28
 			<h4 id="page_title" class="payment_type_title section-heading"><?php echo $page_title ?></h4>
29
-				<p class="instruct"><?php echo wpautop( $payment_instructions ) ?></p>
29
+				<p class="instruct"><?php echo wpautop($payment_instructions) ?></p>
30 30
 		</div>
31 31
 <?php
32 32
 // End of file bank_payment_overview_content.template.php
33 33
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (!defined('EVENT_ESPRESSO_VERSION'))
3
+if (!defined('EVENT_ESPRESSO_VERSION')) {
4 4
 	exit('No direct script access allowed');
5
+}
5 6
 /**
6 7
  * Event Espresso
7 8
  *
Please login to merge, or discard this patch.
payment_methods/Check/EE_PMT_Check.pm.php 2 patches
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (!defined('EVENT_ESPRESSO_VERSION'))
3
+if (!defined('EVENT_ESPRESSO_VERSION')) {
4 4
 	exit('No direct script access allowed');
5
+}
5 6
 
6 7
 /**
7 8
  * Event Espresso
@@ -69,7 +70,7 @@  discard block
 block discarded – undo
69 70
 				$default_address .=  $state ? $state->name() . '<br />' : '';
70 71
 				$default_address .= $country ? $country->name(). '<br />' : '';
71 72
 				$default_address .= $organization->zip != '' ? $organization->get_pretty( 'zip' ) : '';
72
-			}else{
73
+			} else{
73 74
 				$default_address = 'unknown';
74 75
 				$organization_name = 'unknown';
75 76
 			}
Please login to merge, or discard this patch.
Spacing   +25 added lines, -25 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (!defined('EVENT_ESPRESSO_VERSION'))
3
+if ( ! defined('EVENT_ESPRESSO_VERSION'))
4 4
 	exit('No direct script access allowed');
5 5
 
6 6
 /**
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
  *
26 26
  * ------------------------------------------------------------------------
27 27
  */
28
-class EE_PMT_Check extends EE_PMT_Base{
28
+class EE_PMT_Check extends EE_PMT_Base {
29 29
 
30 30
 
31 31
 	/**
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 	 */
35 35
 	public function __construct($pm_instance = NULL) {
36 36
 		$this->_pretty_name = __("Check", 'event_espresso');
37
-		$this->_default_description = __( 'After clicking "Finalize Registration", you will be given instructions on how to complete your payment.', 'event_espresso' );
37
+		$this->_default_description = __('After clicking "Finalize Registration", you will be given instructions on how to complete your payment.', 'event_espresso');
38 38
 		parent::__construct($pm_instance);
39 39
 		$this->_default_button_url = $this->file_url().'lib'.DS.'check-logo.png';
40 40
 	}
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	 * @param \EE_Transaction $transaction
47 47
 	 * @return NULL
48 48
 	 */
49
-	public function generate_new_billing_form( EE_Transaction $transaction = NULL ) {
49
+	public function generate_new_billing_form(EE_Transaction $transaction = NULL) {
50 50
 		return NULL;
51 51
 	}
52 52
 
@@ -57,41 +57,41 @@  discard block
 block discarded – undo
57 57
 	 * @return EE_Form_Section_Proper
58 58
 	 */
59 59
 	public function generate_new_settings_form() {
60
-			if ( EE_Maintenance_Mode::instance()->level() != EE_Maintenance_Mode::level_2_complete_maintenance){
60
+			if (EE_Maintenance_Mode::instance()->level() != EE_Maintenance_Mode::level_2_complete_maintenance) {
61 61
 				$organization = EE_Registry::instance()->CFG->organization;
62
-				$organization_name = $organization->get_pretty( 'name' );
63
-				$default_address = $organization->address_1 != '' ? $organization->get_pretty( 'address_1' ) . '<br />' : '';
64
-				$default_address .= $organization->address_2 != '' ? $organization->get_pretty( 'address_2' ) . '<br />' : '';
65
-				$default_address .= $organization->city != '' ? $organization->get_pretty( 'city' ) : '';
66
-				$default_address .= ( $organization->city != '' && $organization->STA_ID != '') ? ', ' : '<br />';
67
-				$state = EE_Registry::instance()->load_model( 'State' )->get_one_by_ID( $organization->STA_ID );
68
-				$country = EE_Registry::instance()->load_model( 'Country' )->get_one_by_ID( $organization->CNT_ISO ) ;
69
-				$default_address .=  $state ? $state->name() . '<br />' : '';
70
-				$default_address .= $country ? $country->name(). '<br />' : '';
71
-				$default_address .= $organization->zip != '' ? $organization->get_pretty( 'zip' ) : '';
72
-			}else{
62
+				$organization_name = $organization->get_pretty('name');
63
+				$default_address = $organization->address_1 != '' ? $organization->get_pretty('address_1').'<br />' : '';
64
+				$default_address .= $organization->address_2 != '' ? $organization->get_pretty('address_2').'<br />' : '';
65
+				$default_address .= $organization->city != '' ? $organization->get_pretty('city') : '';
66
+				$default_address .= ($organization->city != '' && $organization->STA_ID != '') ? ', ' : '<br />';
67
+				$state = EE_Registry::instance()->load_model('State')->get_one_by_ID($organization->STA_ID);
68
+				$country = EE_Registry::instance()->load_model('Country')->get_one_by_ID($organization->CNT_ISO);
69
+				$default_address .= $state ? $state->name().'<br />' : '';
70
+				$default_address .= $country ? $country->name().'<br />' : '';
71
+				$default_address .= $organization->zip != '' ? $organization->get_pretty('zip') : '';
72
+			} else {
73 73
 				$default_address = 'unknown';
74 74
 				$organization_name = 'unknown';
75 75
 			}
76 76
 			return new EE_Payment_Method_Form(array(
77 77
 			'extra_meta_inputs'=>array(
78 78
 				'check_title'=> new EE_Text_Input(array(
79
-					'html_label_text'=>  sprintf(__("Title %s", "event_espresso"),  $this->get_help_tab_link()),
79
+					'html_label_text'=>  sprintf(__("Title %s", "event_espresso"), $this->get_help_tab_link()),
80 80
 					'default'=>  __("Check/Money Order Payments", 'event_espresso'),
81 81
 				)),
82 82
 				'payment_instructions'=>new EE_Text_Area_Input(array(
83
-					'html_label_text'=>  sprintf(__("Instructions %s", "event_espresso"),  $this->get_help_tab_link()),
83
+					'html_label_text'=>  sprintf(__("Instructions %s", "event_espresso"), $this->get_help_tab_link()),
84 84
 					'default'=> __("Please send Check/Money Order to the address below. Payment must be received within 48 hours of event date.", 'event_espresso'),
85
-					'validation_strategies' => array( new EE_Full_HTML_Validation_Strategy() ),
85
+					'validation_strategies' => array(new EE_Full_HTML_Validation_Strategy()),
86 86
 				)),
87 87
 				'payable_to'=>new EE_Text_Input(array(
88
-					'html_label_text'=>  sprintf(__("Payable To %s", "event_espresso"),  $this->get_help_tab_link()),
88
+					'html_label_text'=>  sprintf(__("Payable To %s", "event_espresso"), $this->get_help_tab_link()),
89 89
 					'default'=>$organization_name
90 90
 				)),
91 91
 				'address_to_send_payment'=>new EE_Text_Area_Input(array(
92
-					'html_label_text'=>  sprintf(__("Address Payable %s", "event_espresso"),  $this->get_help_tab_link()),
92
+					'html_label_text'=>  sprintf(__("Address Payable %s", "event_espresso"), $this->get_help_tab_link()),
93 93
 					'default'=>$default_address,
94
-					'validation_strategies' => array( new EE_Full_HTML_Validation_Strategy() ),
94
+					'validation_strategies' => array(new EE_Full_HTML_Validation_Strategy()),
95 95
 				)),
96 96
 			),
97 97
 			'exclude'=>array('PMD_debug_mode')
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 	 * @see EE_PMT_Base::help_tabs_config()
106 106
 	 * @return array
107 107
 	 */
108
-	public function help_tabs_config(){
108
+	public function help_tabs_config() {
109 109
 		return array(
110 110
 			$this->get_help_tab_name() => array(
111 111
 						'title' => __('Check Settings', 'event_espresso'),
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 	 * Other gateways may want to override this, such as offline gateways.
123 123
 	 * @return string
124 124
 	 */
125
-	public function payment_overview_content(EE_Payment $payment){
125
+	public function payment_overview_content(EE_Payment $payment) {
126 126
 		EE_Registry::instance()->load_helper('Template');
127 127
 		$extra_meta_for_payment_method = $this->_pm_instance->all_extra_meta_array();
128 128
 		$template_vars = array_merge(
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 							),
137 137
 						$extra_meta_for_payment_method);
138 138
 		return EEH_Template::locate_template(
139
-				'payment_methods' . DS . 'Check'. DS . 'templates'.DS.'check_payment_details_content.template.php',
139
+				'payment_methods'.DS.'Check'.DS.'templates'.DS.'check_payment_details_content.template.php',
140 140
 				$template_vars
141 141
 				);
142 142
 	}
Please login to merge, or discard this patch.
payment_methods/Check/templates/check_payment_details_content.template.php 3 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -3,27 +3,27 @@
 block discarded – undo
3 3
 if (!defined('EVENT_ESPRESSO_VERSION'))
4 4
 	exit('No direct script access allowed');
5 5
 /**
6
- * Event Espresso
7
- *
8
- * Event Registration and Management Plugin for WordPress
9
- *
10
- * @ package			Event Espresso
11
- * @ author			Seth Shoultes
12
- * @ copyright		(c) 2008-2011 Event Espresso  All Rights Reserved.
13
- * @ license			http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
14
- * @ link					http://www.eventespresso.com
15
- * @ version		 	4.3
16
- *
17
- * ------------------------------------------------------------------------
18
- *
19
- * check_payment_details_content
20
- *
21
- * @package			Event Espresso
22
- * @subpackage		
23
- * @author				Mike Nelson
24
- *
25
- * ------------------------------------------------------------------------
26
- */
6
+	 * Event Espresso
7
+	 *
8
+	 * Event Registration and Management Plugin for WordPress
9
+	 *
10
+	 * @ package			Event Espresso
11
+	 * @ author			Seth Shoultes
12
+	 * @ copyright		(c) 2008-2011 Event Espresso  All Rights Reserved.
13
+	 * @ license			http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
14
+	 * @ link					http://www.eventespresso.com
15
+	 * @ version		 	4.3
16
+	 *
17
+	 * ------------------------------------------------------------------------
18
+	 *
19
+	 * check_payment_details_content
20
+	 *
21
+	 * @package			Event Espresso
22
+	 * @subpackage		
23
+	 * @author				Mike Nelson
24
+	 *
25
+	 * ------------------------------------------------------------------------
26
+	 */
27 27
 ?>
28 28
 		<div class="event-display-boxes">
29 29
 			<h4 id="check_title" class="payment_type_title section-heading"><?php echo $check_title ?></h4>
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (!defined('EVENT_ESPRESSO_VERSION'))
3
+if ( ! defined('EVENT_ESPRESSO_VERSION'))
4 4
 	exit('No direct script access allowed');
5 5
 /**
6 6
  * Event Espresso
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (!defined('EVENT_ESPRESSO_VERSION'))
3
+if (!defined('EVENT_ESPRESSO_VERSION')) {
4 4
 	exit('No direct script access allowed');
5
+}
5 6
 /**
6 7
  * Event Espresso
7 8
  *
Please login to merge, or discard this patch.
Invoice/templates/invoice_payment_details_content.template.php 3 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -3,27 +3,27 @@
 block discarded – undo
3 3
 if (!defined('EVENT_ESPRESSO_VERSION'))
4 4
 	exit('No direct script access allowed');
5 5
 /**
6
- * Event Espresso
7
- *
8
- * Event Registration and Management Plugin for WordPress
9
- *
10
- * @ package			Event Espresso
11
- * @ author			Seth Shoultes
12
- * @ copyright		(c) 2008-2011 Event Espresso  All Rights Reserved.
13
- * @ license			http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
14
- * @ link					http://www.eventespresso.com
15
- * @ version		 	4.3
16
- *
17
- * ------------------------------------------------------------------------
18
- *
19
- * invoice_payment_details_content
20
- *
21
- * @package			Event Espresso
22
- * @subpackage
23
- * @author				Mike Nelson
24
- *
25
- * ------------------------------------------------------------------------
26
- */
6
+	 * Event Espresso
7
+	 *
8
+	 * Event Registration and Management Plugin for WordPress
9
+	 *
10
+	 * @ package			Event Espresso
11
+	 * @ author			Seth Shoultes
12
+	 * @ copyright		(c) 2008-2011 Event Espresso  All Rights Reserved.
13
+	 * @ license			http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
14
+	 * @ link					http://www.eventespresso.com
15
+	 * @ version		 	4.3
16
+	 *
17
+	 * ------------------------------------------------------------------------
18
+	 *
19
+	 * invoice_payment_details_content
20
+	 *
21
+	 * @package			Event Espresso
22
+	 * @subpackage
23
+	 * @author				Mike Nelson
24
+	 *
25
+	 * ------------------------------------------------------------------------
26
+	 */
27 27
 ?>
28 28
 <div class="event-display-boxes">
29 29
 	<?php
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (!defined('EVENT_ESPRESSO_VERSION'))
3
+if ( ! defined('EVENT_ESPRESSO_VERSION'))
4 4
 	exit('No direct script access allowed');
5 5
 /**
6 6
  * Event Espresso
@@ -27,10 +27,10 @@  discard block
 block discarded – undo
27 27
 ?>
28 28
 <div class="event-display-boxes">
29 29
 	<?php
30
-	if ( ! empty( $page_title )) {
31
-		echo '<h4 id="invoice_title" class="payment_type_title section-heading">' . stripslashes_deep( $page_title ) . '</h4>';
30
+	if ( ! empty($page_title)) {
31
+		echo '<h4 id="invoice_title" class="payment_type_title section-heading">'.stripslashes_deep($page_title).'</h4>';
32 32
 	}
33
-	if ( ! empty( $invoice_url )) {
33
+	if ( ! empty($invoice_url)) {
34 34
 		?>
35 35
 		<p>
36 36
 			<a href="<?php echo $invoice_url; ?>" class="ee-button-lnk inline-button" target="_blank">
@@ -40,10 +40,10 @@  discard block
 block discarded – undo
40 40
 		<?php
41 41
 
42 42
 		if (isset($page_confirmation_text)) {
43
-			echo '<div class="event-messages ui-state-highlight"><span class="ui-icon ui-icon-alert"></span><p class="instruct">' . stripslashes_deep($page_confirmation_text) . '</p></div>';
43
+			echo '<div class="event-messages ui-state-highlight"><span class="ui-icon ui-icon-alert"></span><p class="instruct">'.stripslashes_deep($page_confirmation_text).'</p></div>';
44 44
 		}
45 45
 
46
-		if ( ! empty( $page_extra_info )) {
46
+		if ( ! empty($page_extra_info)) {
47 47
 			?>
48 48
 			<div class="address-block">
49 49
 				<?php echo wpautop(stripslashes_deep($page_extra_info)); ?>
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (!defined('EVENT_ESPRESSO_VERSION'))
3
+if (!defined('EVENT_ESPRESSO_VERSION')) {
4 4
 	exit('No direct script access allowed');
5
+}
5 6
 /**
6 7
  * Event Espresso
7 8
  *
Please login to merge, or discard this patch.
Invoice/templates/invoice_settings_header_display.template.php 3 patches
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -3,27 +3,27 @@
 block discarded – undo
3 3
 if (!defined('EVENT_ESPRESSO_VERSION'))
4 4
 	exit('No direct script access allowed');
5 5
 /**
6
- * Event Espresso
7
- *
8
- * Event Registration and Management Plugin for WordPress
9
- *
10
- * @ package			Event Espresso
11
- * @ author			Seth Shoultes
12
- * @ copyright		(c) 2008-2011 Event Espresso  All Rights Reserved.
13
- * @ license			http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
14
- * @ link					http://www.eventespresso.com
15
- * @ version		 	4.3
16
- *
17
- * ------------------------------------------------------------------------
18
- *
19
- * invoice_settings_header_display
20
- *
21
- * @package			Event Espresso
22
- * @subpackage
23
- * @author				Mike Nelson
24
- *
25
- * ------------------------------------------------------------------------
26
- */
6
+	 * Event Espresso
7
+	 *
8
+	 * Event Registration and Management Plugin for WordPress
9
+	 *
10
+	 * @ package			Event Espresso
11
+	 * @ author			Seth Shoultes
12
+	 * @ copyright		(c) 2008-2011 Event Espresso  All Rights Reserved.
13
+	 * @ license			http://eventespresso.com/support/terms-conditions/   * see Plugin Licensing *
14
+	 * @ link					http://www.eventespresso.com
15
+	 * @ version		 	4.3
16
+	 *
17
+	 * ------------------------------------------------------------------------
18
+	 *
19
+	 * invoice_settings_header_display
20
+	 *
21
+	 * @package			Event Espresso
22
+	 * @subpackage
23
+	 * @author				Mike Nelson
24
+	 *
25
+	 * ------------------------------------------------------------------------
26
+	 */
27 27
 ?>
28 28
 	<tr>
29 29
 		<th><h4><?php _e("Invoice Display Settings", 'event_espresso');?></h4></th>
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (!defined('EVENT_ESPRESSO_VERSION'))
3
+if (!defined('EVENT_ESPRESSO_VERSION')) {
4 4
 	exit('No direct script access allowed');
5
+}
5 6
 /**
6 7
  * Event Espresso
7 8
  *
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (!defined('EVENT_ESPRESSO_VERSION'))
3
+if ( ! defined('EVENT_ESPRESSO_VERSION'))
4 4
 	exit('No direct script access allowed');
5 5
 /**
6 6
  * Event Espresso
@@ -26,9 +26,9 @@  discard block
 block discarded – undo
26 26
  */
27 27
 ?>
28 28
 	<tr>
29
-		<th><h3><?php _e("Invoice Display Settings", 'event_espresso');?></h3></th>
29
+		<th><h3><?php _e("Invoice Display Settings", 'event_espresso'); ?></h3></th>
30 30
 		<td>
31
-			<span class="description"><?php _e("The following settings affect the content and/or appearance of the downloadable PDF invoice.", 'event_espresso');?></span>
31
+			<span class="description"><?php _e("The following settings affect the content and/or appearance of the downloadable PDF invoice.", 'event_espresso'); ?></span>
32 32
 		</td>
33 33
 	</tr>
34 34
 <?php
Please login to merge, or discard this patch.