Skip to content

Commit fdc2cac

Browse files
committed
Fix PHPCS Errors
1 parent 4e26890 commit fdc2cac

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/phpunit/tests/formatting/emoji.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -202,17 +202,17 @@ public function test_emoji_detection_script_html5_type_attribute( $html5_feature
202202
if ( ! empty( $html5_features ) ) {
203203
add_theme_support( 'html5', $html5_features );
204204
}
205-
205+
206206
// `_print_emoji_detection_script()` assumes `wp-includes/js/wp-emoji-loader.js` is present.
207207
self::touch( ABSPATH . WPINC . '/js/wp-emoji-loader.js' );
208208
$output = get_echo( '_print_emoji_detection_script' );
209-
209+
210210
if ( $expected_has_type ) {
211211
$this->assertStringContainsString( '"typeAttr":" type=\\"text\/javascript\\""', $output );
212212
} else {
213213
$this->assertStringContainsString( '"typeAttr":""', $output );
214214
}
215-
215+
216216
$this->assertStringContainsString( 'window._wpemojiSettings', $output );
217217
}
218218

@@ -233,13 +233,13 @@ public function test_zxcvbn_settings_html5_type_attribute( $html5_features, $exp
233233
wp_default_scripts( wp_scripts() );
234234

235235
$script_data = wp_scripts()->get_data( 'zxcvbn-async', 'data' );
236-
236+
237237
if ( $expected_has_type ) {
238238
$this->assertStringContainsString( '"typeAttr":" type=\\"text\/javascript\\""', $script_data );
239239
} else {
240240
$this->assertStringContainsString( '"typeAttr":""', $script_data );
241241
}
242-
242+
243243
$this->assertStringContainsString( '"src":', $script_data );
244244
}
245245

@@ -250,11 +250,11 @@ public function test_zxcvbn_settings_html5_type_attribute( $html5_features, $exp
250250
*/
251251
public function data_html5_script_support() {
252252
return array(
253-
'no html5 support' => array(
253+
'no html5 support' => array(
254254
array(),
255255
true,
256256
),
257-
'html5 script support' => array(
257+
'html5 script support' => array(
258258
array( 'script' ),
259259
false,
260260
),

0 commit comments

Comments
 (0)