Skip to content

Incompatible Composer PHP requirement in packages since 0.10.24 #1367

Open
@lernhart

Description

@lernhart

It seems that support for PHP 7.4 was intentionally dropped in the latest 0.10.24 release. The base composer.json of the repo has been updated to reflect that properly.
However, the composer.json files in the affected packages still list PHP 7.4 as a valid alternative to PHP 8.0, leading to compatibility issues.

In the following example, running the affected enqueue/enqueue package on PHP 7.4 produces errors like the following, as trailing constructor commas were introduced to the enqueu package:

#message: "syntax error, unexpected ')', expecting variable (T_VARIABLE)"
#code: 0 
#file: "./vendor/enqueue/enqueue/Symfony/Consumption/ConfigurableConsumeCommand.php" 
#line: 50

Not sure, how packages are relesed through this monorepo, but a valid fix should be to update the packages' composer.json's to only allow >=PHP8.1?

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