phpspec / prophecy

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

BC-break caused by sebastian/comparator #474

Closed acasademont closed 4 years ago

acasademont commented 4 years ago

Seems like the new 4.0.1 release of sebastian/comparator introduced a BC-break by type-hinting the ObjectComparator::assertEquals method class which this package extends (https://github.com/sebastianbergmann/comparator/blob/4.0.1/src/ObjectComparator.php).

As a workaround, I'm fixing my composer to sebastian/comparator 4.0.0

acasademont commented 4 years ago

also reported there: https://github.com/sebastianbergmann/comparator/issues/85

acasademont commented 4 years ago

Sebastian has just released 4.0.2 reverting the BC-break, that was fast!