Coding Standards: Fix WPCS issues in tests/formatting/SanitizeFileName.php.

Follow-up to [47638].

git-svn-id: https://develop.svn.wordpress.org/trunk@47664 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-04-29 17:23:30 +00:00
parent 514f7c4cc9
commit c61e42db64

View File

@ -78,10 +78,10 @@ class Tests_Formatting_SanitizeFileName extends WP_UnitTestCase {
function data_wp_filenames() {
return array(
[ urldecode( '%B1myfile.png' ), 'myfile.png' ],
[ urldecode( '%B1myfile' ), 'myfile' ],
[ 'demo bar.png', 'demo-bar.png' ],
[ 'demo' . json_decode( '"\u00a0"' ) . 'bar.png', 'demo-bar.png' ],
array( urldecode( '%B1myfile.png' ), 'myfile.png' ),
array( urldecode( '%B1myfile' ), 'myfile' ),
array( 'demo bar.png', 'demo-bar.png' ),
array( 'demo' . json_decode( '"\u00a0"' ) . 'bar.png', 'demo-bar.png' ),
);
}
}