Drupal 9/PHP 8.0 compatibility

Created on 10 March 2023, over 1 year ago
Updated 21 March 2023, over 1 year ago

Problem/Motivation

The module supports Drupal 9, as it should since it is still an officially supported Drupal version. Drupal 9 supports PHP 8.0, thus dropping support for PHP 8.0 partly drops support for Drupal 9 because there are still plenty of applications that for a number of reasons - including other dependencies - cannot update to PHP 8.1 yet. In such cases the module cannot be installed, even though there is no functional reason for this i.e. there's no features/syntax in the module that is not supported in PHP 8.0.

Unless the module uses a specific feature that is only available to 8.1+, the right way is to require the supported drupal core version. Then, if the module requires a minimum PHP version that higher than the minimum version of the supported Drupal core versions, require that as well. In this case, PHP 8.0.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: won't fix

Version

4.0

Component

Code

Created by

πŸ‡΅πŸ‡ͺPeru krystalcode

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @krystalcode
  • @krystalcode opened merge request.
  • Status changed to Closed: won't fix over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States fathershawn New York

    First of all, thank you for collaborating on the Oauth2 Client module. The intention of the 4.x branch is to primarily support Drupal 10, which requires 8.1. Drupal 9 supports but does not require 8.1 beginning with 9.3. The 4.x branch is declared to be Drupal 9 compatible to facilitate sites moving from Drupal 9 to 10. The expected workflow is:

    1. Upgade codebase to Drupal 9.5.x
    2. Upgrade PHP to 8.1
    3. Upgrade modules to D10 compatible versions
    4. Upgrade site to D10

    The 3.x branch is fully functional in Drupal 9 and I'll give it bug fixing maintenance as long as Drupal 9 is supported.

  • πŸ‡ΊπŸ‡ΈUnited States fathershawn New York
Production build 0.71.5 2024