diff --git a/composer.json b/composer.json index 1650df8..d9e883d 100644 --- a/composer.json +++ b/composer.json @@ -1,42 +1,43 @@ { - "name": "thecodingmachine/splash-service-provider", - "description": "Cross-framework module for splash", - "license": "MIT", - "type": "library", - "autoload": { - "psr-4": { - "TheCodingMachine\\Splash\\DI\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "TheCodingMachine\\Splash\\DI\\": "tests/" - } - }, - "require": { - "php": ">=7.1", - "thecodingmachine/funky": "^1", - "thecodingmachine/splash-router": "^10", - "thecodingmachine/middleware-list-universal-module": "^1" - }, - "require-dev": { - "phpunit/phpunit": "^6.4.3", - "phpstan/phpstan": "^0.10.1", - "thecodingmachine/phpstan-strict-rules": "^0.10.1", - "satooshi/php-coveralls": "^1.0.1", - "mnapoli/simplex": "^0.4.1", - "squizlabs/php_codesniffer": "^3.2" - }, - "scripts": { - "phpstan": "phpstan analyse src -c phpstan.neon --level=7 --no-progress -vvv", - "cs-check": "phpcs", - "cs-fix": "phpcbf" - }, - "extra": { - "branch-alias": { - "dev-master": "10.0.x-dev" - } - }, - "minimum-stability": "dev", - "prefer-stable": true -} \ No newline at end of file + "name": "thecodingmachine/splash-service-provider", + "description": "Cross-framework module for splash", + "license": "MIT", + "type": "library", + "autoload": { + "psr-4": { + "TheCodingMachine\\Splash\\DI\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "TheCodingMachine\\Splash\\DI\\": "tests/" + } + }, + "require": { + "php": ">=7.1", + "thecodingmachine/funky": "^1", + "thecodingmachine/splash-router": "^10", + "thecodingmachine/middleware-list-universal-module": "^1", + "laminas/laminas-dependency-plugin": "^1.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.4.3", + "phpstan/phpstan": "^0.10.1", + "thecodingmachine/phpstan-strict-rules": "^0.10.1", + "satooshi/php-coveralls": "^1.0.1", + "mnapoli/simplex": "^0.4.1", + "squizlabs/php_codesniffer": "^3.2" + }, + "scripts": { + "phpstan": "phpstan analyse src -c phpstan.neon --level=7 --no-progress -vvv", + "cs-check": "phpcs", + "cs-fix": "phpcbf" + }, + "extra": { + "branch-alias": { + "dev-master": "10.0.x-dev" + } + }, + "minimum-stability": "dev", + "prefer-stable": true +} diff --git a/tests/Fixtures/TestController2.php b/tests/Fixtures/TestController2.php index c364330..a36d023 100644 --- a/tests/Fixtures/TestController2.php +++ b/tests/Fixtures/TestController2.php @@ -9,7 +9,7 @@ use TheCodingMachine\Splash\Annotations\Put; use TheCodingMachine\Splash\Annotations\Title; use Psr\Http\Message\ServerRequestInterface; -use Zend\Diactoros\Response\JsonResponse; +use Laminas\Diactoros\Response\JsonResponse; use TheCodingMachine\Splash\Annotations\URL; class TestController2 diff --git a/tests/SplashServiceProviderTest.php b/tests/SplashServiceProviderTest.php index ce5a59c..dbbe2ed 100644 --- a/tests/SplashServiceProviderTest.php +++ b/tests/SplashServiceProviderTest.php @@ -13,9 +13,9 @@ use TheCodingMachine\Splash\DI\Fixtures\TestController2; use TheCodingMachine\Splash\Routers\SplashRouter; use Simplex\Container; -use Zend\Diactoros\Response\HtmlResponse; -use Zend\Diactoros\Response\RedirectResponse; -use Zend\Diactoros\ServerRequest; +use Laminas\Diactoros\Response\HtmlResponse; +use Laminas\Diactoros\Response\RedirectResponse; +use Laminas\Diactoros\ServerRequest; class SplashServiceProviderTest extends TestCase {