Make WordPress Core


Ignore:
Timestamp:
07/05/2023 05:39:55 PM (12 months ago)
Author:
johnbillion
Message:

General: Increase the minimum supported version of PHP to 7.0.0.

This also removes the random compat library which is no longer necessary, and adjusts unit tests and CI workflows that no longer need to take PHP 5.6 into account.

Thank you for your service, PHP 5. Onwards!

Props SergeyBiryukov, mukesh27, dingo_d, audrasjb, jrf, costdev, azaozz, JavierCasares, hellofromTonya, samiamnot, spacedmonkey, masteradhoc, knutsp, garyjones, chanthaboune

Fixes #57345

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/wpMediaListTable.php

    r56072 r56141  
    115115     *
    116116     * The warning that we should not see:
    117      * PHP 5.6 - 7.4: `Invalid argument supplied for foreach()`.
     117     * PHP <= 7.4: `Invalid argument supplied for foreach()`.
    118118     * PHP 8.0 and higher: `Warning: foreach() argument must be of type array|object, bool given`.
    119119     *
Note: See TracChangeset for help on using the changeset viewer.