Skip to content

Commit cc31d80

Browse files
committed
Fix phpcs
1 parent 2fe5542 commit cc31d80

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/phpunit/tests/template.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
996996
);
997997

998998
$tests = array(
999-
'deprecated' => array(
999+
'deprecated' => array(
10001000
'ini_config_options' => $log_and_display_all,
10011001
'emit_filter_errors' => static function () {
10021002
trigger_error( 'You are history during filter.', E_USER_DEPRECATED );
@@ -1014,7 +1014,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
10141014
'<b>Deprecated</b>: You are history during action. in <b>__FILE__</b> on line <b>__LINE__</b>',
10151015
),
10161016
),
1017-
'notice' => array(
1017+
'notice' => array(
10181018
'ini_config_options' => $log_and_display_all,
10191019
'emit_filter_errors' => static function () {
10201020
trigger_error( 'POSTED: No trespassing during filter.', E_USER_NOTICE );
@@ -1032,7 +1032,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
10321032
'<b>Notice</b>: POSTED: No trespassing during action. in <b>__FILE__</b> on line <b>__LINE__</b>',
10331033
),
10341034
),
1035-
'warning' => array(
1035+
'warning' => array(
10361036
'ini_config_options' => $log_and_display_all,
10371037
'emit_filter_errors' => static function () {
10381038
trigger_error( 'AVISO: Piso mojado durante filtro.', E_USER_WARNING );
@@ -1050,7 +1050,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
10501050
'<b>Warning</b>: AVISO: Piso mojado durante acción. in <b>__FILE__</b> on line <b>__LINE__</b>',
10511051
),
10521052
),
1053-
'error' => array(
1053+
'error' => array(
10541054
'ini_config_options' => $log_and_display_all,
10551055
'emit_filter_errors' => static function () {
10561056
@trigger_error( 'ERROR: Can this mistake be rectified during filter?', E_USER_ERROR ); // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged
@@ -1068,7 +1068,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
10681068
'<b>Error</b>: Uncaught exception "Exception" thrown: User error triggered: ERROR: Can this mistake be rectified during action? in <b>__FILE__</b> on line <b>__LINE__</b>',
10691069
),
10701070
),
1071-
'exception' => array(
1071+
'exception' => array(
10721072
'ini_config_options' => $log_and_display_all,
10731073
'emit_filter_errors' => static function () {
10741074
throw new Exception( 'I take exception to this filter!' );
@@ -1086,7 +1086,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
10861086
'<b>Error</b>: Uncaught exception "Exception" thrown: I take exception to this action! in <b>__FILE__</b> on line <b>__LINE__</b>',
10871087
),
10881088
),
1089-
'multiple_non_errors' => array(
1089+
'multiple_non_errors' => array(
10901090
'ini_config_options' => $log_and_display_all,
10911091
'emit_filter_errors' => static function () {
10921092
trigger_error( 'You are history during filter.', E_USER_DEPRECATED );
@@ -1116,7 +1116,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
11161116
'<b>Warning</b>: AVISO: Piso mojado durante acción. in <b>__FILE__</b> on line <b>__LINE__</b>',
11171117
),
11181118
),
1119-
'deprecated_without_html' => array(
1119+
'deprecated_without_html' => array(
11201120
'ini_config_options' => array_merge(
11211121
$log_and_display_all,
11221122
array(
@@ -1135,7 +1135,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
11351135
'Deprecated: You are history during filter. in __FILE__ on line __LINE__',
11361136
),
11371137
),
1138-
'warning_in_eval_with_prepend_and_append' => array(
1138+
'warning_in_eval_with_prepend_and_append' => array(
11391139
'ini_config_options' => array_merge(
11401140
$log_and_display_all,
11411141
array(

0 commit comments

Comments
 (0)