Problem/Motivation

For RNG, the tests currently fail to run on PHP 8.1. This is because this project explicitly requires PHP 7:

drupal/courier[dev-2.x, 2.0.0-alpha9, ..., 2.0.0-alpha10] require php ^7.1 -> your php version (8.1.0) does not satisfy that requirement.

See https://www.drupal.org/pift-ci-job/2309769

Proposed resolution

Change the PHP requirement in composer.json. For example, replace ^7.1 with ^7.1 || ^8.0.

Remaining tasks

  • Decide on how to require PHP in composer.json
  • Possibly fix tests for PHP 8.

User interface changes

None.

API changes

None.

Data model changes

None.

Issue fork courier-3262458

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

MegaChriz created an issue. See original summary.

megachriz’s picture

Status: Active » Needs review

composer.json is adjusted in the issue fork. Let's see if I can get tests to run.

  • dpi committed d8e4857 on 2.x authored by MegaChriz
    Issue #3262458 by MegaChriz: Add support for PHP 8.0/8.1
    
dpi’s picture

Merged!

Thanks.

Released with 2.0.0.

dpi’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.