Skip to content

Should we enforce PHP 5.5/5.6 as a minimum ? #359

Closed
@tostinni

Description

@tostinni

Drupal 8 supports PHP 5.5.9 as a minimum version (see Drupal 8 PHP requirements), however in composer.json there is no PHP version which can led to conflicts when you upgrade some packages.

For example this issue Doctrine/Common 2.8 requires PHP ~7.1 expose this problem when working in a PHP 5.5/5.6 environment.
One solution proposed there is to add "platform": {"php": "5.6"} to composer.json.

Should we consider doing the same for drupal-composer ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions