You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/phpunit/tests/template.php
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -996,7 +996,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
996
996
);
997
997
998
998
$tests = array(
999
-
'deprecated' => array(
999
+
'deprecated'=> array(
1000
1000
'ini_config_options' => $log_and_display_all,
1001
1001
'emit_filter_errors' => staticfunction () {
1002
1002
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
1014
1014
'<b>Deprecated</b>: You are history during action. in <b>__FILE__</b> on line <b>__LINE__</b>',
1015
1015
),
1016
1016
),
1017
-
'notice' => array(
1017
+
'notice'=> array(
1018
1018
'ini_config_options' => $log_and_display_all,
1019
1019
'emit_filter_errors' => staticfunction () {
1020
1020
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
1032
1032
'<b>Notice</b>: POSTED: No trespassing during action. in <b>__FILE__</b> on line <b>__LINE__</b>',
1033
1033
),
1034
1034
),
1035
-
'warning' => array(
1035
+
'warning'=> array(
1036
1036
'ini_config_options' => $log_and_display_all,
1037
1037
'emit_filter_errors' => staticfunction () {
1038
1038
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
1050
1050
'<b>Warning</b>: AVISO: Piso mojado durante acción. in <b>__FILE__</b> on line <b>__LINE__</b>',
1051
1051
),
1052
1052
),
1053
-
'error' => array(
1053
+
'error'=> array(
1054
1054
'ini_config_options' => $log_and_display_all,
1055
1055
'emit_filter_errors' => staticfunction () {
1056
1056
@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
1068
1068
'<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>',
1069
1069
),
1070
1070
),
1071
-
'exception' => array(
1071
+
'exception'=> array(
1072
1072
'ini_config_options' => $log_and_display_all,
1073
1073
'emit_filter_errors' => staticfunction () {
1074
1074
thrownewException( 'I take exception to this filter!' );
@@ -1086,7 +1086,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
1086
1086
'<b>Error</b>: Uncaught exception "Exception" thrown: I take exception to this action! in <b>__FILE__</b> on line <b>__LINE__</b>',
1087
1087
),
1088
1088
),
1089
-
'multiple_non_errors' => array(
1089
+
'multiple_non_errors'=> array(
1090
1090
'ini_config_options' => $log_and_display_all,
1091
1091
'emit_filter_errors' => staticfunction () {
1092
1092
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
1116
1116
'<b>Warning</b>: AVISO: Piso mojado durante acción. in <b>__FILE__</b> on line <b>__LINE__</b>',
1117
1117
),
1118
1118
),
1119
-
'deprecated_without_html' => array(
1119
+
'deprecated_without_html'=> array(
1120
1120
'ini_config_options' => array_merge(
1121
1121
$log_and_display_all,
1122
1122
array(
@@ -1135,7 +1135,7 @@ public function data_provider_to_test_wp_finalize_template_enhancement_output_bu
1135
1135
'Deprecated: You are history during filter. in __FILE__ on line __LINE__',
0 commit comments