Skip to content

Commit 32d49e3

Browse files
committed
Fix prophecy warning
1 parent b2b1d59 commit 32d49e3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@
6262
"alcaeus/mongo-php-adapter": "^1.0",
6363
"kwn/php-rdkafka-stubs": "^1.0.2 | ^2.0",
6464
"friendsofphp/php-cs-fixer": "^2",
65-
"dms/phpunit-arraysubset-asserts": "^0.2.1"
65+
"dms/phpunit-arraysubset-asserts": "^0.2.1",
66+
"phpspec/prophecy-phpunit": "^2.0"
6667
},
6768
"autoload": {
6869
"psr-4": {

pkg/enqueue/Tests/DoctrineConnectionFactoryFactoryTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@
99
use Enqueue\Dbal\ManagerRegistryConnectionFactory;
1010
use Enqueue\Doctrine\DoctrineConnectionFactoryFactory;
1111
use PHPUnit\Framework\TestCase;
12+
use Prophecy\PhpUnit\ProphecyTrait;
1213

1314
class DoctrineConnectionFactoryFactoryTest extends TestCase
1415
{
16+
use ProphecyTrait;
17+
1518
/**
1619
* @var ManagerRegistry|\Prophecy\Prophecy\ObjectProphecy
1720
*/

0 commit comments

Comments
 (0)