phpspec / prophecy

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

allow recursion-context and comparator v5 #591

Closed brettmc closed 1 year ago

brettmc commented 1 year ago

PhpUnit 10 requires sebastian/recursion-context and sebastian/comparator v5. Allow these versions so that prophecy can be installed alongside PhpUnit 10 (eg for prophecy-phpunit).

Closes #590

stof commented 1 year ago

See #585 for the in-progress work on that. This is on my plan for this weekend (hopefully) as it requires working on Prophecy 2.0 to remove the class deprecated in #589 (as sebastian/comparator v5 makes the Factory class final)