Skip to content

Commit ca7c01e

Browse files
committed
Migrate to PSR-11
1 parent 8aeaaab commit ca7c01e

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"php": "^8.0",
1616
"codeception/lib-innerbrowser": "^3.0 | ^4.0",
1717
"codeception/codeception": "^5.0.8",
18-
"container-interop/container-interop": "^1.2",
1918
"laminas/laminas-diactoros": "^2.0 || ^3.0",
20-
"mezzio/mezzio": "^3.0"
19+
"mezzio/mezzio": "^3.0",
20+
"psr/container": "^1|^2"
2121
},
2222
"require-dev": {
2323
"codeception/module-rest": "^3.3"

src/Codeception/Lib/Connector/Mezzio.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
use Codeception\Configuration;
88
use Exception;
9-
use Interop\Container\ContainerInterface;
109
use Laminas\Diactoros\ServerRequest;
1110
use Laminas\Diactoros\UploadedFile;
1211
use Mezzio\Application;
12+
use Psr\Container\ContainerInterface;
1313
use Symfony\Component\BrowserKit\AbstractBrowser as Client;
1414
use Symfony\Component\BrowserKit\Request as BrowserKitRequest;
1515
use Symfony\Component\BrowserKit\Response;

src/Codeception/Module/Mezzio.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
use Codeception\Lib\Interfaces\DoctrineProvider;
1010
use Codeception\TestInterface;
1111
use Doctrine\ORM\EntityManagerInterface;
12-
use Interop\Container\ContainerInterface;
1312
use Mezzio\Application;
1413
use PHPUnit\Framework\AssertionFailedError;
14+
use Psr\Container\ContainerInterface;
1515
use Symfony\Component\BrowserKit\AbstractBrowser;
1616

1717
/**
@@ -33,7 +33,7 @@
3333
* ## Public properties
3434
*
3535
* * application - instance of `\Mezzio\Application`
36-
* * container - instance of `\Interop\Container\ContainerInterface`
36+
* * container - instance of `\Psr\Container\ContainerInterface`
3737
* * client - BrowserKit client
3838
*
3939
*/

0 commit comments

Comments
 (0)