Skip to content

Commit ea2202b

Browse files
committed
fix: ensure PSR-11 interface refs are used in tests
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
1 parent c1ee6d2 commit ea2202b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/Factory/AcceptListenerFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
namespace LaminasTest\ApiTools\Versioning\Factory;
66

7-
use interop\container\containerinterface;
87
use Laminas\ApiTools\Versioning\AcceptListener;
98
use Laminas\ApiTools\Versioning\Factory\AcceptListenerFactory;
109
use PHPUnit\Framework\TestCase;
1110
use Prophecy\PhpUnit\ProphecyTrait;
11+
use Psr\Container\ContainerInterface;
1212
use ReflectionClass;
1313

1414
class AcceptListenerFactoryTest extends TestCase
@@ -17,7 +17,7 @@ class AcceptListenerFactoryTest extends TestCase
1717

1818
public function setUp(): void
1919
{
20-
$this->container = $this->prophesize(containerinterface::class);
20+
$this->container = $this->prophesize(ContainerInterface::class);
2121

2222
$r = new ReflectionClass(AcceptListener::class);
2323
$props = $r->getDefaultProperties();

test/Factory/ContentTypeListenerFactoryTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
namespace LaminasTest\ApiTools\Versioning\Factory;
66

7-
use interop\container\containerinterface;
87
use Laminas\ApiTools\Versioning\ContentTypeListener;
98
use Laminas\ApiTools\Versioning\Factory\ContentTypeListenerFactory;
109
use PHPUnit\Framework\TestCase;
1110
use Prophecy\PhpUnit\ProphecyTrait;
11+
use Psr\Container\ContainerInterface;
1212
use ReflectionClass;
1313

1414
class ContentTypeListenerFactoryTest extends TestCase
@@ -17,7 +17,7 @@ class ContentTypeListenerFactoryTest extends TestCase
1717

1818
public function setUp(): void
1919
{
20-
$this->container = $this->prophesize(containerinterface::class);
20+
$this->container = $this->prophesize(ContainerInterface::class);
2121

2222
$r = new ReflectionClass(ContentTypeListener::class);
2323
$props = $r->getDefaultProperties();

0 commit comments

Comments
 (0)