behat-code-coverage icon indicating copy to clipboard operation
behat-code-coverage copied to clipboard

Symfony 5 compatibility

Open Gregoire-M opened this issue 4 years ago • 1 comments

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?

Gregoire-M avatar Jun 19 '20 08:06 Gregoire-M

Hey, it seems this package is abandoned.

This project has been forked by dvdoug and I've just check in the composer.json and it seems Symfony 5 is supported.

You should take a look at it ;-)

froozeify avatar Nov 02 '20 13:11 froozeify