Problem/Motivation

Core has few checks for PHP_VERSION_ID which added for newer PHP versions
Before Drupal 12 is release conditional logic for unsupported versions require clean-up

Steps to reproduce

Use git grep PHP_VERSION_ID to find all places

Proposed resolution

Clean-up conditions for PHP 8.4 (the minimal required version )

Remaining tasks

find, fix, review, commit

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Comments

andypost created an issue. See original summary.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

quietone’s picture

Status: Postponed » Closed (outdated)

The only uses of PHP_VERSION are in \Drupal\Component\Annotation\Doctrine\TokenParser which check that it is greater than 80000.

Other uses were removed in #3537713: [12.x] Require PHP 8.5, making this outdated.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

quietone’s picture

Title: [12.x] Clean up PHP_VERSION_ID conditions for unsupported PHP versions » Clean up PHP_VERSION_ID conditions for unsupported PHP versions