From e5bee4ef68abfb6672f2455315cb036c08226795 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 19 Sep 2019 11:39:01 +0000 Subject: [PATCH] Docs: Format multi-line comment in [46180] per the documentation standards. See #45066. git-svn-id: https://develop.svn.wordpress.org/trunk@46181 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/dependencies/scripts.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/phpunit/tests/dependencies/scripts.php b/tests/phpunit/tests/dependencies/scripts.php index fcf71084dd..4cb86ca85f 100644 --- a/tests/phpunit/tests/dependencies/scripts.php +++ b/tests/phpunit/tests/dependencies/scripts.php @@ -732,14 +732,16 @@ JS; $print_scripts = get_echo( 'wp_print_scripts' ); $print_scripts .= get_echo( '_print_scripts' ); - // We've replaced wp-a11y.js with @wordpress/a11y package (see #45066), - // and `wp-polyfill` is now a dependency of the packaged wp-a11y. - // The packaged scripts contain various version numbers, which are - // not exposed, so we will remove all version args from the output. + /* + * We've replaced wp-a11y.js with @wordpress/a11y package (see #45066), + * and `wp-polyfill` is now a dependency of the packaged wp-a11y. + * The packaged scripts contain various version numbers, which are not exposed, + * so we will remove all version args from the output. + */ $print_scripts = preg_replace( '~js\?ver=([^"\']*)~', // Matches `js?ver=X.X.X` and everything to single or double quote. 'js', // The replacement, `js` without the version arg. - $print_scripts // Printed scripts. + $print_scripts // Printed scripts. ); $this->assertEquals( $expected, $print_scripts );