Skip to content

Symfony 5 compatibility #47

@Gregoire-M

Description

@Gregoire-M

Hi,

I've tried to install leanphp/behat-code-coverage on a Symfony 5 application, but composer doesn't allow it, since your library requires older versions of Symfony components (^2.3||^3.0||^4.0).

$ composer require leanphp/behat-code-coverage --dev
Using version ^3.4 for leanphp/behat-code-coverage
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "5.1.*"
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - leanphp/behat-code-coverage v3.4.1 requires symfony/config ^2.3||^3.0||^4.0 -> no matching package found.
    - leanphp/behat-code-coverage v3.4.0 requires symfony/config ^2.3||^3.0||^4.0 -> no matching package found.
    - Installation request for leanphp/behat-code-coverage ^3.4 -> satisfiable by leanphp/behat-code-coverage[v3.4.0, v3.4.1].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Installation failed, reverting ./composer.json to its original content.

Do you consider allowing Symfony 5 components in your requirements?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions