Make WordPress Core


Ignore:
Timestamp:
07/05/2023 05:39:55 PM (22 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/date/dateI18n.php

    r55562 r56141  
    118118
    119119        $expected = '2022-08-01 00:00:00 -03 -03:00 America/Buenos_Aires';
    120         if ( PHP_VERSION_ID < 70000 ) {
    121             // PHP 5.6.
    122             $expected = '2022-08-01 00:00:00 ART -03:00 America/Buenos_Aires';
    123         }
    124120
    125121        $this->assertSame( $expected, date_i18n( 'Y-m-d H:i:s T P e', strtotime( '2022-08-01 00:00:00' ) ) );
Note: See TracChangeset for help on using the changeset viewer.