diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2d2bb5ab..9b39dc7e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,7 +29,7 @@ jobs: submodules: recursive - name: Install Mezzio Sample - run: composer update --no-dev --prefer-dist --no-interaction + run: composer update --prefer-dist --no-interaction working-directory: framework-tests diff --git a/composer.json b/composer.json index a6929bc4..9e390d13 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "php": "^8.0", "codeception/lib-innerbrowser": "^3.0 | ^4.0", "codeception/codeception": "^5.0.8", - "container-interop/container-interop": "^1.2", + "psr/container": "^1 | ^2", "laminas/laminas-diactoros": "^2.0 || ^3.0", "mezzio/mezzio": "^3.0" }, diff --git a/src/Codeception/Lib/Connector/Mezzio.php b/src/Codeception/Lib/Connector/Mezzio.php index afa29b15..81cc9625 100644 --- a/src/Codeception/Lib/Connector/Mezzio.php +++ b/src/Codeception/Lib/Connector/Mezzio.php @@ -6,7 +6,7 @@ use Codeception\Configuration; use Exception; -use Interop\Container\ContainerInterface; +use Psr\Container\ContainerInterface; use Laminas\Diactoros\ServerRequest; use Laminas\Diactoros\UploadedFile; use Mezzio\Application; diff --git a/src/Codeception/Module/Mezzio.php b/src/Codeception/Module/Mezzio.php index 8e2cf7b6..c21829cb 100644 --- a/src/Codeception/Module/Mezzio.php +++ b/src/Codeception/Module/Mezzio.php @@ -9,7 +9,7 @@ use Codeception\Lib\Interfaces\DoctrineProvider; use Codeception\TestInterface; use Doctrine\ORM\EntityManagerInterface; -use Interop\Container\ContainerInterface; +use Psr\Container\ContainerInterface; use Mezzio\Application; use PHPUnit\Framework\AssertionFailedError; use Symfony\Component\BrowserKit\AbstractBrowser; @@ -33,7 +33,7 @@ * ## Public properties * * * application - instance of `\Mezzio\Application` - * * container - instance of `\Interop\Container\ContainerInterface` + * * container - instance of `\Psr\Container\ContainerInterface` * * client - BrowserKit client * */