bruli/php-git-hooks

PHP Unit 7.0 support

aftabnaveed opened this issue · 2 comments

Looks like PHP Unit 7.0 support is not added yet. I am trying to use it for my laravel 5.6 project which uses php unit 7.0 I get this error

Using version ^5.3 for bruli/php-git-hooks
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for bruli/php-git-hooks ^5.3 -> satisfiable by bruli/php-git-hooks[v5.3].
    - Conclusion: remove phpunit/phpunit 7.0.3
    - Conclusion: don't install phpunit/phpunit 7.0.3
    - bruli/php-git-hooks v5.3 requires phpunit/phpunit ~6.0 -> satisfiable by phpunit/phpunit[6.0.x-dev, 6.1.x-dev, 6.2.x-dev, 6.3.x-dev, 6.4.x-dev, 6.5.x-dev].
    - Can only install one of: phpunit/phpunit[6.0.x-dev, 7.0.3].
    - Can only install one of: phpunit/phpunit[6.1.x-dev, 7.0.3].
    - Can only install one of: phpunit/phpunit[6.2.x-dev, 7.0.3].
    - Can only install one of: phpunit/phpunit[6.3.x-dev, 7.0.3].
    - Can only install one of: phpunit/phpunit[6.4.x-dev, 7.0.3].
    - Can only install one of: phpunit/phpunit[6.5.x-dev, 7.0.3].
    - Installation request for phpunit/phpunit (locked at 7.0.3, required as ~7.0) -> satisfiable by phpunit/phpunit[7.0.3]. 

Can this support be added easily?

bruli commented

Yes, is not added yet.
Could you send a PR?.

bruli commented

Sorry, I see your PR.