Declare PHP requirement >= 7.4

Created on 26 August 2021, about 3 years ago
Updated 17 June 2024, 3 months ago

Problem/Motivation

Tests are failing at due to use of typed properties.

At https://www.drupal.org/node/215311/qa β†’ we can see tests for 2.x branch on PHP7.2 are failing due to typed properties such as this. Typed properties are only allowed since PHP 7.4, and the linked example was introduced into this module in #3214737: Display Missing Mailchimp API Key message β†’ .

Simple fix is to declare the requirement for PHP7.4, and update the automated testing configuration to use that version.

Steps to reproduce

Either:

- Visit https://www.drupal.org/node/215311/qa β†’
- Click the red test result for 2.x branch with PHP7.2

Or, run tests locally using a PHP version below 7.4.

Proposed resolution

Declare requirement for PHP7.4.

Remaining tasks

- [ ] Update test configuration (maintainer action required)
- [x] Update info.yml
- [x] Update composer.json
- [ ] Re-run tests
- [ ] Review, etc

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

General

Created by

πŸ‡³πŸ‡ΏNew Zealand xurizaemon Ōtepoti, Aotearoa 🏝

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024