From 4afe093284916e2462c3b94d6bc795431bc8867f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 14 Jan 2020 14:08:44 +0100 Subject: update to 1.2.0 raise dependency on PHP 5.6 raise dependency on zendframework/zend-diactoros 1.7 raise dependency on zendframework/http 2.7 --- composer.json | 53 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 37 insertions(+), 16 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index f7ffa72..4a88bdc 100644 --- a/composer.json +++ b/composer.json @@ -1,33 +1,35 @@ { "name": "zendframework/zend-psr7bridge", - "description": "PSR-7 <-> Zend\\Http bridge", - "type": "library", + "description": "PSR-7 <-> zend-http message conversions", "license": "BSD-3-Clause", "keywords": [ + "zf", "http", "psr", - "psr-7" + "psr-7", + "zend", + "zendframework" ], - "homepage": "https://github.com/zendframework/zend-psr7bridge", "support": { + "docs": "https://docs.zendframework.com/zend-psr7bridge/", "issues": "https://github.com/zendframework/zend-psr7bridge/issues", - "source": "https://github.com/zendframework/zend-psr7bridge" - }, - "extra": { - "branch-alias": { - "dev-master": "1.0-dev", - "dev-develop": "1.1-dev" - } + "source": "https://github.com/zendframework/zend-psr7bridge", + "rss": "https://github.com/zendframework/zend-psr7bridge/releases.atom", + "slack": "https://zendframework-slack.herokuapp.com", + "forum": "https://discourse.zendframework.com/c/questions/components" }, "require": { - "php": ">=5.5", - "zendframework/zend-http": "^2.5", + "php": "^5.6 || ^7.0", "psr/http-message": "^1.0", - "zendframework/zend-diactoros": "^1.1" + "zendframework/zend-diactoros": "^1.7 || ^2.0", + "zendframework/zend-http": "^2.7" }, "require-dev": { - "phpunit/phpunit": "^4.7", - "squizlabs/php_codesniffer": "^2.3" + "phpunit/phpunit": "^5.7.15 || ^6.5.6", + "zendframework/zend-coding-standard": "~1.0.0" + }, + "conflict": { + "zendframework/zend-stdlib": "< 3.2.1" }, "autoload": { "psr-4": { @@ -38,5 +40,24 @@ "psr-4": { "ZendTest\\Psr7Bridge\\": "test/" } + }, + "config": { + "sort-packages": true + }, + "extra": { + "branch-alias": { + "dev-master": "1.2.x-dev", + "dev-develop": "1.3.x-dev" + } + }, + "scripts": { + "check": [ + "@cs-check", + "@test" + ], + "cs-check": "phpcs", + "cs-fix": "phpcbf", + "test": "phpunit --colors=always", + "test-coverage": "phpunit --colors=always --coverage-clover clover.xml" } } -- cgit