Skip to content

Commit

Permalink
Migrating from Zend-Framework to Laminas
Browse files Browse the repository at this point in the history
This commit was generated using laminas-migrate
  • Loading branch information
moufmouf committed Sep 3, 2020
1 parent 9161769 commit 68f9e76
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 45 deletions.
83 changes: 42 additions & 41 deletions 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
}
"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
}
2 changes: 1 addition & 1 deletion tests/Fixtures/TestController2.php
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions tests/SplashServiceProviderTest.php
Expand Up @@ -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
{
Expand Down

0 comments on commit 68f9e76

Please sign in to comment.