Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating from Zend-Framework to Laminas #1

Merged
merged 1 commit into from Sep 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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