phpspec / prophecy

Highly opinionated mocking framework for PHP 5.3+
MIT License
8.53k stars 241 forks source link

phpspec/prophecy v1.17.0 requires sebastian/comparator ^3.0 || ^4.0 -> found sebastian/comparator[3.0.0, ..., 3.0.5, 4.0.0, ..., 4.0.8] but it conflicts with your root composer.json require (^5.0). #606

Closed n-for-all closed 10 months ago

n-for-all commented 1 year ago

Can we update the packagist version?

https://packagist.org/packages/phpspec/prophecy

alexander-schranz commented 1 year ago

This has more todo with the PHPUnit 10 support.

PHPUnit 9 use sebastaon/comparator : 4 which and currently 1.17.0 only supports PHPUnit 9.

sebastian/comparator ^5.0 comes from PHPUnit 10 which is currently only supported on the master branch yet. If you want to test it checkout this: https://github.com/phpspec/prophecy/issues/599#issuecomment-1649720948

stof commented 10 months ago

1.18.0 has been released now