<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[57735] trunk/tests/phpunit/tests: Tests: Address capitalization and docblock inconsistencies in some test class names.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/57735">57735</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/57735","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>swissspidy</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-02-28 09:44:40 +0000 (Wed, 28 Feb 2024)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Tests: Address capitalization and docblock inconsistencies in some test class names.

Follow-up to <a href="https://core.trac.wordpress.org/changeset/57060">[57060]</a>, <a href="https://core.trac.wordpress.org/changeset/57718">[57718]</a>, <a href="https://core.trac.wordpress.org/changeset/57725">[57725]</a>, <a href="https://core.trac.wordpress.org/changeset/57726">[57726]</a>, <a href="https://core.trac.wordpress.org/changeset/57727">[57727]</a>, <a href="https://core.trac.wordpress.org/changeset/57728">[57728]</a>, <a href="https://core.trac.wordpress.org/changeset/57733">[57733]</a>.

Props swissspidy, costdev.
See <a href="https://core.trac.wordpress.org/ticket/59647">#59647</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunktestsphpunittestsformattingmaybeHashHexColorphp">trunk/tests/phpunit/tests/formatting/maybeHashHexColor.php</a></li>
<li><a href="#trunktestsphpunittestsformattingredirectphp">trunk/tests/phpunit/tests/formatting/redirect.php</a></li>
<li><a href="#trunktestsphpunittestsformattingsanitizeHexColorphp">trunk/tests/phpunit/tests/formatting/sanitizeHexColor.php</a></li>
<li><a href="#trunktestsphpunittestsformattingsanitizeHexColorNoHashphp">trunk/tests/phpunit/tests/formatting/sanitizeHexColorNoHash.php</a></li>
<li><a href="#trunktestsphpunittestsformattingwpStripAllTagsphp">trunk/tests/phpunit/tests/formatting/wpStripAllTags.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsabsintphp">trunk/tests/phpunit/tests/functions/absint.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsaddMagicQuotesphp">trunk/tests/phpunit/tests/functions/addMagicQuotes.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsallowedProtocolsphp">trunk/tests/phpunit/tests/functions/allowedProtocols.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsgetStatusHeaderDescphp">trunk/tests/phpunit/tests/functions/getStatusHeaderDesc.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsisNewDayphp">trunk/tests/phpunit/tests/functions/isNewDay.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsisPhpVersionCompatiblephp">trunk/tests/phpunit/tests/functions/isPhpVersionCompatible.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsisSerializedphp">trunk/tests/phpunit/tests/functions/isSerialized.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsisSerializedStringphp">trunk/tests/phpunit/tests/functions/isSerializedString.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsisWpVersionCompatiblephp">trunk/tests/phpunit/tests/functions/isWpVersionCompatible.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsmaybeSerializephp">trunk/tests/phpunit/tests/functions/maybeSerialize.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsmceSetDirectionphp">trunk/tests/phpunit/tests/functions/mceSetDirection.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionsremoveQueryArgphp">trunk/tests/phpunit/tests/functions/removeQueryArg.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionssizeFormatphp">trunk/tests/phpunit/tests/functions/sizeFormat.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionswpArraySliceAssocphp">trunk/tests/phpunit/tests/functions/wpArraySliceAssoc.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionswpGuessUrlphp">trunk/tests/phpunit/tests/functions/wpGuessUrl.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionswpListFilterphp">trunk/tests/phpunit/tests/functions/wpListFilter.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionswpListPluckphp">trunk/tests/phpunit/tests/functions/wpListPluck.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionswpListSortphp">trunk/tests/phpunit/tests/functions/wpListSort.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionswpListUtilphp">trunk/tests/phpunit/tests/functions/wpListUtil.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionswpNonceFieldphp">trunk/tests/phpunit/tests/functions/wpNonceField.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionswpNonceUrlphp">trunk/tests/phpunit/tests/functions/wpNonceUrl.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionswpParseListphp">trunk/tests/phpunit/tests/functions/wpParseList.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionswpParseSlugListphp">trunk/tests/phpunit/tests/functions/wpParseSlugList.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionswpRefererFieldphp">trunk/tests/phpunit/tests/functions/wpRefererField.php</a></li>
<li><a href="#trunktestsphpunittestsfunctionswpTriggerErrorphp">trunk/tests/phpunit/tests/functions/wpTriggerError.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunktestsphpunittestsformattingmaybeHashHexColorphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/formatting/maybeHashHexColor.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/formatting/maybeHashHexColor.php        2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/formatting/maybeHashHexColor.php  2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,12 +7,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @covers ::maybe_hash_hex_color
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-class Tests_Formatting_maybeHashHexColor extends WP_UnitTestCase {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+class Tests_Formatting_MaybeHashHexColor extends WP_UnitTestCase {
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * @ticket 60272
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @dataProvider date_sanitize_hex_color_no_hash
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @dataProvider data_sanitize_hex_color_no_hash
+        *
+        * @param string $color    Color.
+        * @param string $expected Expected.
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function test_maybe_hash_hex_color( $color, $expected ) {
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( $expected, maybe_hash_hex_color( $color ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,9 +22,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * Data provider for test_maybe_hash_hex_color().
+        *
+        * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        public function date_sanitize_hex_color_no_hash() {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ public function data_sanitize_hex_color_no_hash() {
</ins><span class="cx" style="display: block; padding: 0 10px">                 return array(
</span><span class="cx" style="display: block; padding: 0 10px">                        '$maybe_alpha = false, 3 digit'               => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'color'    => '#123',
</span></span></pre></div>
<a id="trunktestsphpunittestsformattingredirectphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/formatting/redirect.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/formatting/redirect.php 2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/formatting/redirect.php   2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -203,7 +203,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * Data provider for test_wp_validate_redirect_relative_url.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * Data provider for test_wp_validate_redirect_relative_url().
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><span class="cx" style="display: block; padding: 0 10px">         * @return array[] {
</span><span class="cx" style="display: block; padding: 0 10px">         *      string Current URI (i.e. path and query string only).
</span></span></pre></div>
<a id="trunktestsphpunittestsformattingsanitizeHexColorphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/formatting/sanitizeHexColor.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/formatting/sanitizeHexColor.php 2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/formatting/sanitizeHexColor.php   2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,12 +7,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @covers ::sanitize_hex_color
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-class Tests_Formatting_sanitizeHexColor extends WP_UnitTestCase {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+class Tests_Formatting_SanitizeHexColor extends WP_UnitTestCase {
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * @ticket 60270
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @dataProvider date_sanitize_hex_color
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @dataProvider data_sanitize_hex_color
+        *
+        * @param string $color    Color.
+        * @param string $expected Expected.
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function test_sanitize_hex_color( $color, $expected ) {
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( $expected, sanitize_hex_color( $color ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,9 +22,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * Data provider for test_sanitize_hex_color().
+        *
+        * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        public function date_sanitize_hex_color() {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ public function data_sanitize_hex_color() {
</ins><span class="cx" style="display: block; padding: 0 10px">                 return array(
</span><span class="cx" style="display: block; padding: 0 10px">                        '$maybe_alpha = false, 3 digit'               => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'color'    => '#123',
</span></span></pre></div>
<a id="trunktestsphpunittestsformattingsanitizeHexColorNoHashphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/formatting/sanitizeHexColorNoHash.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/formatting/sanitizeHexColorNoHash.php   2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/formatting/sanitizeHexColorNoHash.php     2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,12 +7,15 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @covers ::sanitize_hex_color_no_hash
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-class Tests_Formatting_sanitizeHexColorNoHash extends WP_UnitTestCase {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+class Tests_Formatting_SanitizeHexColorNoHash extends WP_UnitTestCase {
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * @ticket 60271
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @dataProvider date_sanitize_hex_color_no_hash
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @dataProvider data_sanitize_hex_color_no_hash
+        *
+        * @param string $color    Color.
+        * @param string $expected Expected.
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function test_sanitize_hex_color_no_hash( $color, $expected ) {
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( $expected, sanitize_hex_color_no_hash( $color ) );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,9 +22,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * Data provider for data_sanitize_hex_color_no_hash().
+        *
+        * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        public function date_sanitize_hex_color_no_hash() {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ public function data_sanitize_hex_color_no_hash() {
</ins><span class="cx" style="display: block; padding: 0 10px">                 return array(
</span><span class="cx" style="display: block; padding: 0 10px">                        '$maybe_alpha = false, 3 digit'               => array(
</span><span class="cx" style="display: block; padding: 0 10px">                                'color'    => '#123',
</span></span></pre></div>
<a id="trunktestsphpunittestsformattingwpStripAllTagsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/formatting/wpStripAllTags.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/formatting/wpStripAllTags.php   2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/formatting/wpStripAllTags.php     2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -86,7 +86,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * Data provider for test_wp_strip_all_tags_should_cast_scalar_values_to_string()/
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * Data provider for test_wp_strip_all_tags_should_cast_scalar_values_to_string().
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><span class="cx" style="display: block; padding: 0 10px">         * @return array[]
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsabsintphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/absint.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/absint.php    2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/absint.php      2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,7 +3,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * Tests for the absint function.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @group Functions
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @group functions
</ins><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @covers ::absint
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,7 +24,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="cx" style="display: block; padding: 0 10px">         * Returns an array of test data for the `data_absint` method.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array An array of test data.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[] An array of test data.
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_absint() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsaddMagicQuotesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/addMagicQuotes.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/addMagicQuotes.php    2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/addMagicQuotes.php      2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -21,7 +21,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * Data provider for test_add_magic_quotes.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * Data provider for test_add_magic_quotes().
</ins><span class="cx" style="display: block; padding: 0 10px">          *
</span><span class="cx" style="display: block; padding: 0 10px">         * @return array[] Test parameters {
</span><span class="cx" style="display: block; padding: 0 10px">         *     @type array $test_array Test value.
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsallowedProtocolsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/allowedProtocols.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/allowedProtocols.php  2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/allowedProtocols.php    2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -36,7 +36,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         * Data provider.
+        *
</ins><span class="cx" style="display: block; padding: 0 10px">          * @link http://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         *
+        * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_example_urls() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsgetStatusHeaderDescphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/getStatusHeaderDesc.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/getStatusHeaderDesc.php       2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/getStatusHeaderDesc.php 2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,7 +24,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider for test_get_status_header_desc().
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_get_status_header_desc() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsisNewDayphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/isNewDay.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/isNewDay.php  2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/isNewDay.php    2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -27,6 +27,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( $expected, is_new_day() );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * Data provider.
+        *
+        * @return array[]
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         public function data_is_new_date() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="cx" style="display: block; padding: 0 10px">                        array( '21.05.19', '21.05.19', 0 ),
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsisPhpVersionCompatiblephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/isPhpVersionCompatible.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/isPhpVersionCompatible.php    2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/isPhpVersionCompatible.php      2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,7 +25,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_is_php_version_compatible() {
</span><span class="cx" style="display: block; padding: 0 10px">                $php_version = PHP_VERSION;
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsisSerializedphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/isSerialized.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/isSerialized.php      2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/isSerialized.php        2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,7 +25,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider for `test_is_serialized()`.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_is_serialized() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -97,7 +97,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider for `test_is_serialized()`.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_is_not_serialized() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -192,6 +192,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertTrue( is_serialized( $value ) );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * Data provider.
+        *
+        * @return array[]
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         public function data_is_serialized_should_return_true_for_large_floats() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="cx" style="display: block; padding: 0 10px">                        array( serialize( 1.7976931348623157E+308 ) ),
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsisSerializedStringphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/isSerializedString.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/isSerializedString.php        2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/isSerializedString.php  2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,7 +24,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider for `test_is_serialized_string()`.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_is_serialized_string() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsisWpVersionCompatiblephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/isWpVersionCompatible.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/isWpVersionCompatible.php     2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/isWpVersionCompatible.php       2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,7 +25,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_is_wp_version_compatible() {
</span><span class="cx" style="display: block; padding: 0 10px">                global $wp_version;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -125,7 +125,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_is_wp_version_compatible_should_gracefully_handle_trailing_point_zero_version_numbers() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -204,7 +204,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_is_wp_version_compatible_with_development_versions() {
</span><span class="cx" style="display: block; padding: 0 10px">                global $wp_version;
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsmaybeSerializephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/maybeSerialize.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/maybeSerialize.php    2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/maybeSerialize.php      2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -53,7 +53,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider for `test_maybe_unserialize()`.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_is_serialized() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -121,7 +121,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider for `test_maybe_serialize()`.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_is_not_serialized() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -229,7 +229,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider for test_deserialize_request_utility_filtered_iterator_objects().
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_serialize_deserialize_objects() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsmceSetDirectionphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/mceSetDirection.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/mceSetDirection.php   2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/mceSetDirection.php     2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,7 +7,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @covers ::_mce_set_direction
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-class Tests_Functions_mceSetDirection extends WP_UnitTestCase {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+class Tests_Functions_MceSetDirection extends WP_UnitTestCase {
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * @ticket 60219
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,7 +30,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $actual = _mce_set_direction( $mce_init );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $this->assertSameSets( $mce_init, $actual );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $this->assertSameSets( $mce_init, $actual, 'An unexpected LTR result was returned.' );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $orig_text_dir             = $wp_locale->text_direction;
</span><span class="cx" style="display: block; padding: 0 10px">                $wp_locale->text_direction = 'rtl';
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -37,6 +37,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $actual                    = _mce_set_direction( $mce_init );
</span><span class="cx" style="display: block; padding: 0 10px">                $wp_locale->text_direction = $orig_text_dir;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $this->assertSameSets( $expected, $actual );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $this->assertSameSets( $expected, $actual, 'An unexpected RTL result was returned.' );
</ins><span class="cx" style="display: block; padding: 0 10px">         }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionsremoveQueryArgphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/removeQueryArg.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/removeQueryArg.php    2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/removeQueryArg.php      2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( $expected, $actual );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * Data provider.
+        *
+        * @return array[]
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         public function data_remove_query_arg() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="cx" style="display: block; padding: 0 10px">                        array( 'foo', 'edit.php?foo=test1&baz=test1', 'edit.php?baz=test1' ),
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionssizeFormatphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/sizeFormat.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/sizeFormat.php        2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/sizeFormat.php  2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,6 +13,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> class Tests_Functions_SizeFormat extends WP_UnitTestCase {
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * Data provider.
+        *
+        * @return array[]
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         public function data_size_format() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="cx" style="display: block; padding: 0 10px">                        // Invalid values.
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionswpArraySliceAssocphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/wpArraySliceAssoc.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/wpArraySliceAssoc.php 2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/wpArraySliceAssoc.php   2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -29,7 +29,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider for wp_array_slice_assoc().
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_wp_array_slice_assoc_arrays() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionswpGuessUrlphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/wpGuessUrl.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/wpGuessUrl.php        2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/wpGuessUrl.php  2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -25,7 +25,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_wp_guess_url_should_return_site_url() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionswpListFilterphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/wpListFilter.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/wpListFilter.php      2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/wpListFilter.php        2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,6 +22,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertEqualSetsWithIndex( $expected, wp_list_filter( $input_list, $args, $operator ) );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * Data provider.
+        *
+        * @return array[]
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         public function data_wp_list_filter() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="cx" style="display: block; padding: 0 10px">                        'string instead of array'  => array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionswpListPluckphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/wpListPluck.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/wpListPluck.php       2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/wpListPluck.php 2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -216,6 +216,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSameSetsWithIndex( $expected, wp_list_pluck( $input_list, $field, $index_key ) );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * Data provider.
+        *
+        * @return array[]
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         public function data_wp_list_pluck() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="cx" style="display: block; padding: 0 10px">                        'arrays'                         => array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionswpListSortphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/wpListSort.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/wpListSort.php        2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/wpListSort.php  2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -20,6 +20,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( $expected, wp_list_sort( $input_list, $orderby, $order ) );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * Data provider.
+        *
+        * @return array[]
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         public function data_wp_list_sort() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="cx" style="display: block; padding: 0 10px">                        'single orderby ascending'        => array(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -345,6 +350,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( $expected, wp_list_sort( $input_list, $orderby, $order, true ) );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * Data provider.
+        *
+        * @return array[]
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         public function data_wp_list_sort_preserve_keys() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="cx" style="display: block; padding: 0 10px">                        'single orderby ascending'        => array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionswpListUtilphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/wpListUtil.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/wpListUtil.php        2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/wpListUtil.php  2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -147,7 +147,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider that provides invalid input arrays.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_wp_list_pluck_should_throw_doing_it_wrong_with_invalid_input() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionswpNonceFieldphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/wpNonceField.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/wpNonceField.php      2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/wpNonceField.php        2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -44,7 +44,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_wp_nonce_field() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionswpNonceUrlphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/wpNonceUrl.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/wpNonceUrl.php        2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/wpNonceUrl.php  2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -37,7 +37,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider for test_should_append_nonce_name_and_value().
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_should_append_nonce_name_and_value() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -124,7 +124,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider for test_should_handle_existing_query_args().
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_should_handle_existing_query_args() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionswpParseListphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/wpParseList.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/wpParseList.php       2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/wpParseList.php 2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertSame( $expected, array_values( wp_parse_list( $actual ) ) );
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        /**
+        * Data provider.
+        *
+        * @return array[]
+        */
</ins><span class="cx" style="display: block; padding: 0 10px">         public function data_wp_parse_list() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span><span class="cx" style="display: block; padding: 0 10px">                        array( array( '1', '2', '3', '4' ), '1,2,3,4' ),
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionswpParseSlugListphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/wpParseSlugList.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/wpParseSlugList.php   2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/wpParseSlugList.php     2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,7 +7,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><span class="cx" style="display: block; padding: 0 10px">  * @covers ::wp_parse_slug_list
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-class Tests_Functions_wpParseSlugList extends WP_UnitTestCase {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+class Tests_Functions_WpParseSlugList extends WP_UnitTestCase {
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * @ticket 60217
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionswpRefererFieldphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/wpRefererField.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/wpRefererField.php    2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/wpRefererField.php      2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -48,7 +48,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider for test_wp_referer_field_should_respect_display_arg().
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_wp_referer_field_should_respect_display_arg() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span></span></pre></div>
<a id="trunktestsphpunittestsfunctionswpTriggerErrorphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/functions/wpTriggerError.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/functions/wpTriggerError.php    2024-02-28 09:29:03 UTC (rev 57734)
+++ trunk/tests/phpunit/tests/functions/wpTriggerError.php      2024-02-28 09:44:40 UTC (rev 57735)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -78,7 +78,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">        /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Data provider.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-         * @return array
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+  * @return array[]
</ins><span class="cx" style="display: block; padding: 0 10px">          */
</span><span class="cx" style="display: block; padding: 0 10px">        public function data_should_trigger_error() {
</span><span class="cx" style="display: block; padding: 0 10px">                return array(
</span></span></pre>
</div>
</div>

</body>
</html>