Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build/Test Tools: Enable running the tests on PHP 8.4 (Trac: 62061) #7379

Closed

Commits on Oct 3, 2024

  1. Build/Test Tools: Enable running the tests on PHP 8.4

    PHP 8.4 is expected to be released at the end of November 2024.
    
    Trac ticket 62061 contains a full analysis of the changes needed for WP to be ready for PHP 8.4 and all currently available patches for WP Core have been merged in the mean time.
    
    Enabling the tests to run in CI on PHP 8.4 allows WordPress core to prevent new PHP 8.4 compatibility issues from being introduced.
    
    Notes:
    * While a [patch has been pulled](WordPress/wordpress-importer#172) for the Importer plugin, this patch has not been merged yet.
        This means there are currently still five failing tests. These failure are directly related to the Importer plugin and will be fixed once the PR for the plugin has been merged.
        To still allow WP Core to start structurally testing against PHP 8.4, these five tests have been set up now to be skipped on PHP 8.4.
        These tests skips should be removed again once the PR to the plugin has been merged.
    * Xdebug-related tests will not be run on PHP 8.4 at this time as the Docker image for PHP 8.4 does not contain Xdebug yet. Once a stable release of Xdebug 3.4.0 is available, it can be added to the Docker image and the test step can then be enabled for PHP 8.4.
    jrfnl committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    d91e1ce View commit details
    Browse the repository at this point in the history