[wp-trac] [WordPress Trac] #57345: Bump the minimum required PHP version to 7.2
WordPress Trac
noreply at wordpress.org
Sun Dec 18 16:15:37 UTC 2022
#57345: Bump the minimum required PHP version to 7.2
--------------------------------------+---------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.2
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by costdev):
I've submitted PRs for the following tasks:
- [https://github.com/WordPress/wordpress-develop/pull/3782 PR 3782]:
Remove < PHP 7.2 test workflows.
- [https://github.com/WordPress/wordpress-develop/pull/3783 PR 3783]:
Remove PHPUnit test condition related to PHP version < 7.
- [https://github.com/WordPress/wordpress-develop/pull/3784 PR 3784]:
Remove [https://github.com/wordpress/wordpress-
develop/blob/8f3453f9587ed3fa574c98b8bb1d80cf3c4fc9b7/src/wp-
includes/compat.php#L368 the is_iterable() polyfill], as `is_iterable()`
was introduced in PHP 7.1.
- [https://github.com/WordPress/wordpress-develop/pull/3785 PR 3785]:
Remove [https://github.com/wordpress/wordpress-
develop/blob/8f3453f9587ed3fa574c98b8bb1d80cf3c4fc9b7/src/wp-
includes/compat.php#L496 the IMG_WEBP constant definition], as this
constant is defined in PHP 7.0.10+.
- [https://github.com/WordPress/wordpress-develop/pull/3786 PR 3786]:
Remove [https://github.com/wordpress/wordpress-
develop/blob/8f3453f9587ed3fa574c98b8bb1d80cf3c4fc9b7/src/wp-
includes/compat.php#L491 the IMAGETYPE_WEBP constant definition], as this
constant is defined in PHP 7.1+.
- [https://github.com/WordPress/wordpress-develop/pull/3787 PR 3787]:
Remove [https://github.com/wordpress/wordpress-
develop/blob/8f3453f9587ed3fa574c98b8bb1d80cf3c4fc9b7/src/wp-
includes/random_compat The entire random_compat library] which polyfills
functions from PHP 7.x to 5.x. Random is
[https://www.php.net/manual/en/extensions.membership.php a core PHP
extension].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57345#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list