Skip to content

Commit a396191

Browse files
committed
Revert "Migrate to phpspec/prophecy-phpunit"
This reverts commit e03ad06. Supporting phpspec/prophecy-phpunit at this point, would require dropping php <= 7.2 support. We can re-visit this matter once we start supporting phpunit 10.
1 parent e03ad06 commit a396191

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"require-dev": {
1717
"doctrine/collections": "^1.6.8",
1818
"doctrine/common": "^2.13.3 || ^3.2.2",
19-
"phpspec/prophecy-phpunit": "^2.0",
2019
"phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13"
2120
},
2221
"conflict": {

tests/DeepCopyTest/TypeFilter/Spl/ArrayObjectFilterTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
use DeepCopy\DeepCopy;
77
use DeepCopy\TypeFilter\Spl\ArrayObjectFilter;
88
use PHPUnit\Framework\TestCase;
9-
use Prophecy\PhpUnit\ProphecyTrait;
9+
use Prophecy\Prophecy\ObjectProphecy;
1010
use RecursiveArrayIterator;
1111

1212
/**
@@ -16,14 +16,13 @@
1616
*/
1717
final class ArrayObjectFilterTest extends TestCase
1818
{
19-
use ProphecyTrait;
2019
/**
2120
* @var ArrayObjectFilter
2221
*/
2322
private $arrayObjectFilter;
2423

2524
/**
26-
* @var DeepCopy|ProphecyTrait
25+
* @var DeepCopy|ObjectProphecy
2726
*/
2827
private $copierProphecy;
2928

0 commit comments

Comments
 (0)