Skip to content

Update minimum PHP version/revisit approach #94

@TravisCarden

Description

@TravisCarden

We currently set the default minimum PHP version at 7.4, which is much older than our policy requires*:

<!-- PHP Compatibility sniffs -->
<!-- The lowest version of PHP supported by both Drupal and Acquia Cloud.
@see https://www.drupal.org/docs/8/system-requirements/php-requirements
@see https://docs.acquia.com/acquia-cloud/arch/tech-platform/
For instructions on overriding this value in your project,
@see https://github.com/acquia/coding-standards-php/pull/37 -->
<config name="testVersion" value="7.4-"/>
<rule ref="PHPCompatibility">
<exclude name="PHPCompatibility.Extensions.RemovedExtensions.famRemoved"/>
</rule>

* Acquia technically has a PHP 7.4 LTS subscription extension, but I think we should consider that an edge case with an easy workaround.

We should discuss whether we want to update it to 8.1 (Drupal core's current minimum supported version) and cut a new release or take a whole different approach--like moving the whole package phpcompatibility/php-compatibility to suggest since setting it directly has known complications around it: #85.

What do you think, @danepowell?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions