#177·DeepCopy

phpspec/prophecy is now explicitely needed for tests

Author: DavidPrevotCreated Aug 28, 2022Updated Aug 29, 2022

Hi,

Since PHPUnit dropped phpspec/prophecy from its dependencies (https://github.com/sebastianbergmann/phpunit/issues/5033), the following error is triggered when running the testsuite with latest PHPUnit.

There was 1 error:

1) DeepCopyTest\TypeFilter\Spl\ArrayObjectFilterTest::test_it_deep_copies_an_array_object
PHPUnit\Framework\Exception: This test uses TestCase::prophesize(), but phpspec/prophecy is not installed. Please run "composer require --dev phpspec/prophecy".

Regards

David