Allow PHP 7.4 when using 2.x

Created on 5 February 2023, over 1 year ago
Updated 6 February 2023, over 1 year ago

Problem/Motivation

As far as I can tell, the Editoria11y module runs just fine under PHP 7.4. However, the editoria11y.info.yml file specifies PHP 8.0, so it can't be installed.

Relatedly, the module's composer.json does not specify a PHP requirement. Composer will happily download it, only to find that Drupal won't allow it to be installed.

Steps to reproduce

  • Run Drupal using PHP 7.4.
  • composer require 'drupal/editoria11y:^2.0'
  • drush en editoria11y
  • Observe that the module is not installed.

Proposed resolution

  • In editoria11y.info.yml , specify PHP 7.4 as the minimum version
  • In the module's compser.json file, require "php": ">=7.4"

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Bugs

Created by

πŸ‡ΊπŸ‡ΈUnited States scottatdrake

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

Comments & Activities

Production build 0.71.5 2024