← r57848: Coding Standards: Use strict comparison in `wp-includes/class-wp-walker.php`.

Failed

Environment

Host WPMU DEV
Test Date 2024-03-17 10:17
Execution Time 7m 26s
Environment Name Unknown
PHPPHP PHP (PHP: Hypertext Preprocessor) is a general-purpose scripting language especially suited to web development. PHP code is usually processed on a web server by a PHP interpreter. On a web server, the result of the interpreted and executed PHP code would form the whole or part of an HTTP response. Version PHP 8.1.27
DatabaseDatabase A database is an organized collection of data. Access to this data is usually provided by a "database management system" (DBMS) consisting of an integrated set of computer software that allows users to interact with one or more databases and provides access to all of the data contained in the database. Because of the close relationship between them, the term "database" is often used casually to refer to both a database and the DBMS used to manipulate it. Version mysqlMySQL MySQL is an open-source relational database management system (RDBMS). MySQL is free and open-source software under the terms of the GNU General Public License. Ver 15.1 Distrib 10.6.16-MariaDBMariaDB MariaDB is a fork of the MySQL relational database management system (RDBMS), intended to remain free and open-source software under the GNU General Public License. MariaDB intended to maintain high compatibility with MySQL, ensuring a drop-in replacement capability with library binary parity and exact matching with MySQL APIs and commands.
Extensions bcmath (8.1.27), ctype (8.1.27), curl (8.1.27), date (8.1.27), dom (20031129), exif (8.1.27), fileinfo (8.1.27), filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. (8.1.27), ftp (8.1.27), gd (8.1.27), gettext (8.1.27), hash (8.1.27), iconv (8.1.27), imagick (3.7.0), imap (8.1.27), intl (8.1.27), jsonJSON JavaScript Object Notation (JSON) is an open standard file format, and data interchange format, that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and array data types. It is a very common data format, with a diverse range of applications, such as serving as a replacement for XML in AJAX systems. (8.1.27), libxml (8.1.27), mbstring (8.1.27), mcrypt (1.0.6), mysqli (8.1.27), mysqlnd (mysqlnd 8.1.27), openssl (8.1.27), pcre (8.1.27), pdo_mysql (8.1.27), soap (8.1.27), sockets (8.1.27), sodium (8.1.27), xml (8.1.27), xmlreader (8.1.27), zip (1.19.5), zlib (8.1.27), curl (7.81.0 OpenSSL/3.0.2 1.2.11), imagemagick (6.9.11-60), openssl (3.0.2 15 Mar 2022 (Library: 3.0.2 15 Mar 2022))

Errors/Failures

Tests_Filesystem_WpFilesystemDirect_Mkdir::test_should_set_chmod

Tests_Filesystem_WpFilesystemDirect_Mkdir::test_should_set_chmod
The permissions are incorrect.
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'0644'
+'0755'

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/mkdir.php:133

Tests_Filesystem_WpFilesystemDirect_Mkdir::test_should_set_owner

Tests_Filesystem_WpFilesystemDirect_Mkdir::test_should_set_owner
chown(): Operation not permitted

/home/wptestrunner/site/public_html/wp-test-runner/src/wp-admin/includes/class-wp-filesystem-direct.php:204
/home/wptestrunner/site/public_html/wp-test-runner/src/wp-admin/includes/class-wp-filesystem-direct.php:565
/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/mkdir.php:163

Tests_Filesystem_WpFilesystemDirect_Mkdir::test_should_set_group

Tests_Filesystem_WpFilesystemDirect_Mkdir::test_should_set_group
chgrp(): Operation not permitted

/home/wptestrunner/site/public_html/wp-test-runner/src/wp-admin/includes/class-wp-filesystem-direct.php:131
/home/wptestrunner/site/public_html/wp-test-runner/src/wp-admin/includes/class-wp-filesystem-direct.php:569
/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/mkdir.php:201

Tests_Filesystem_WpFilesystemDirect_Move::test_should_overwrite_an_existing_file_when_overwriting_is_enabled

Tests_Filesystem_WpFilesystemDirect_Move::test_should_overwrite_an_existing_file_when_overwriting_is_enabled
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_Move::test_should_not_overwrite_an_existing_file_when_overwriting_is_disabled

Tests_Filesystem_WpFilesystemDirect_Move::test_should_not_overwrite_an_existing_file_when_overwriting_is_disabled
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_Move::test_should_move_directories

Tests_Filesystem_WpFilesystemDirect_Move::test_should_move_directories
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_Move::test_should_return_false_for_invalid_destination

Tests_Filesystem_WpFilesystemDirect_Move::test_should_return_false_for_invalid_destination
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_Move::test_should_return_false_when_overwriting_is_enabled_the_destination_exists_but_cannot_be_deleted

Tests_Filesystem_WpFilesystemDirect_Move::test_should_return_false_when_overwriting_is_enabled_the_destination_exists_but_cannot_be_deleted
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_Move::test_should_fall_back_to_single_file_copy_when_source_and_destination_do_not_exist

Tests_Filesystem_WpFilesystemDirect_Move::test_should_fall_back_to_single_file_copy_when_source_and_destination_do_not_exist
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_Mtime::test_should_determine_file_modified_time::test_should_determine_file_modified_time with data set "a file that exists"

Tests_Filesystem_WpFilesystemDirect_Mtime::test_should_determine_file_modified_time with data set "a file that exists" ('a_file_that_exists.txt')
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_Mtime::test_should_determine_file_modified_time::test_should_determine_file_modified_time with data set "a directory that exists"

Tests_Filesystem_WpFilesystemDirect_Mtime::test_should_determine_file_modified_time with data set "a directory that exists" ('')
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_Mtime::test_should_not_determine_file_modified_time::test_should_not_determine_file_modified_time with data set "a file that does not exist"

Tests_Filesystem_WpFilesystemDirect_Mtime::test_should_not_determine_file_modified_time with data set "a file that does not exist" ('a_file_that_does_not_exist.txt')
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_Mtime::test_should_not_determine_file_modified_time::test_should_not_determine_file_modified_time with data set "a directory that does not exist"

Tests_Filesystem_WpFilesystemDirect_Mtime::test_should_not_determine_file_modified_time with data set "a directory that does not exist" ('a_directory_that_does_not_exist')
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_PutContents::test_should_return_false_for_a_directory

Tests_Filesystem_WpFilesystemDirect_PutContents::test_should_return_false_for_a_directory
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_PutContents::test_should_insert_contents_into_file

Tests_Filesystem_WpFilesystemDirect_PutContents::test_should_insert_contents_into_file
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_Rmdir::test_should_return_false_for_empty_path

Tests_Filesystem_WpFilesystemDirect_Rmdir::test_should_return_false_for_empty_path
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93

Tests_Filesystem_WpFilesystemDirect_Rmdir::test_should_delete_an_empty_directory

Tests_Filesystem_WpFilesystemDirect_Rmdir::test_should_delete_an_empty_directory
rmdir(/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/includes/../data/filesystem/filesystem_api/wpFilesystemDirect/): Directory not empty

/home/wptestrunner/site/public_html/wp-test-runner/tests/phpunit/tests/filesystem/wpFilesystemDirect/base.php:111
/home/wptestrunner/site/public_html/wp-test-runner/vendor/yoast/phpunit-polyfills/src/TestCases/TestCasePHPUnitGte8.php:93