From 20a0abfaa12cca1a680228abaf9bfbd1264f8ffe Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 14 Jan 2020 13:59:04 +0100 Subject: update to 2.2.2 raise dependency on http-interop/http-middleware 0.5 add dependency on webimpress/http-middleware-compatibility switch to phpunit6 enable upstream test suite --- composer.json | 42 +++++++++++++++++++++++++++++------------- 1 file changed, 29 insertions(+), 13 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index b56db26..1644574 100644 --- a/composer.json +++ b/composer.json @@ -6,34 +6,49 @@ "keywords": [ "http", "psr-7", - "middleware" + "middleware", + "zf", + "zendframework" ], "homepage": "https://github.com/zendframework/zend-stratigility", "support": { + "docs": "https://docs.zendframework.com/zend-stratigility/", "issues": "https://github.com/zendframework/zend-stratigility/issues", - "source": "https://github.com/zendframework/zend-stratigility" + "source": "https://github.com/zendframework/zend-stratigility", + "rss": "https://github.com/zendframework/zend-stratigility/releases.atom", + "slack": "https://zendframework-slack.herokuapp.com", + "forum": "https://discourse.zendframework.com/c/questions/expressive" }, "extra": { "branch-alias": { - "dev-master": "1.3.0-dev", - "dev-develop": "2.0.0-dev" + "dev-master": "2.2.x-dev", + "dev-develop": "3.0.x-dev" } }, + "config": { + "sort-packages": true + }, "require": { "php": "^5.6 || ^7.0", "psr/http-message": "^1.0", - "zendframework/zend-escaper": "^2.3", - "http-interop/http-middleware": "^0.2.0" + "webimpress/http-middleware-compatibility": "^0.1.4", + "zendframework/zend-escaper": "^2.3" }, "require-dev": { - "zendframework/zend-diactoros": "^1.0", - "phpunit/phpunit": "^5.6", - "zendframework/zend-coding-standard": "~1.0.0" + "malukenho/docheader": "^0.1.5", + "phpunit/phpunit": "^5.7.22 || ^6.4.1", + "zendframework/zend-coding-standard": "~1.0.0", + "zendframework/zend-diactoros": "^1.0" }, "suggest": { "psr/http-message-implementation": "Please install a psr/http-message-implementation to consume Stratigility; e.g., zendframework/zend-diactoros" }, "autoload": { + "files": [ + "src/functions/double-pass-middleware.php", + "src/functions/middleware.php", + "src/functions/path.php" + ], "psr-4": { "Zend\\Stratigility\\": "src/" } @@ -45,13 +60,14 @@ }, "scripts": { "check": [ + "@license-check", "@cs-check", "@test" ], - "upload-coverage": "coveralls -v", - "cs-check": "phpcs --colors", - "cs-fix": "phpcbf --colors", + "cs-check": "phpcs", + "cs-fix": "phpcbf", + "license-check": "docheader check src/ test/", "test": "phpunit --colors=always", - "test-coverage": "phpunit --coverage-clover clover.xml" + "test-coverage": "phpunit --colors=always --coverage-clover clover.xml" } } -- cgit