Skip to content

Use composer/semver internally to verify PHP version compatibility #87

@boesing

Description

@boesing

Feature Request

Q A
New Feature yes
RFC yes
BC Break no

Summary

As of now, we are using some semver javascript library. Since that actually does not align with all the "features" of composer, we might want to create a little PHAR which uses composer/semver under the hood to simply exit with 0 if PHP version is supported by the constraint or 1 if not.

Adding some kind of child_process to our matrix javascript node binary and we can run that PHAR from within JS for a more accurate version detection.

This would also fix #86

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementRFCRequest for Comment; proposal for major new feature or changes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions