From 4ca84fbb5e56a9063a5afcd0b4b5798fa475aaf7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 10 Jan 2020 15:16:53 +0100 Subject: switch to Laminas --- composer.json | 56 ++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 40 insertions(+), 16 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index f7ffa72..75ddb2b 100644 --- a/composer.json +++ b/composer.json @@ -1,42 +1,66 @@ { - "name": "zendframework/zend-psr7bridge", - "description": "PSR-7 <-> Zend\\Http bridge", - "type": "library", + "name": "laminas/laminas-psr7bridge", + "description": "PSR-7 <-> laminas-http message conversions", "license": "BSD-3-Clause", "keywords": [ + "laminas", "http", "psr", "psr-7" ], - "homepage": "https://github.com/zendframework/zend-psr7bridge", + "homepage": "https://laminas.dev", "support": { - "issues": "https://github.com/zendframework/zend-psr7bridge/issues", - "source": "https://github.com/zendframework/zend-psr7bridge" + "docs": "https://docs.laminas.dev/laminas-psr7bridge/", + "issues": "https://github.com/laminas/laminas-psr7bridge/issues", + "source": "https://github.com/laminas/laminas-psr7bridge", + "rss": "https://github.com/laminas/laminas-psr7bridge/releases.atom", + "chat": "https://laminas.dev/chat", + "forum": "https://discourse.laminas.dev" + }, + "config": { + "sort-packages": true }, "extra": { "branch-alias": { - "dev-master": "1.0-dev", - "dev-develop": "1.1-dev" + "dev-master": "1.2.x-dev", + "dev-develop": "1.3.x-dev" } }, "require": { - "php": ">=5.5", - "zendframework/zend-http": "^2.5", - "psr/http-message": "^1.0", - "zendframework/zend-diactoros": "^1.1" + "php": "^5.6 || ^7.0", + "laminas/laminas-diactoros": "^1.7 || ^2.0", + "laminas/laminas-http": "^2.7", + "laminas/laminas-zendframework-bridge": "^1.0", + "psr/http-message": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^4.7", - "squizlabs/php_codesniffer": "^2.3" + "laminas/laminas-coding-standard": "~1.0.0", + "phpunit/phpunit": "^5.7.15 || ^6.5.6" + }, + "conflict": { + "laminas/laminas-stdlib": "< 3.2.1" }, "autoload": { "psr-4": { - "Zend\\Psr7Bridge\\": "src/" + "Laminas\\Psr7Bridge\\": "src/" } }, "autoload-dev": { "psr-4": { - "ZendTest\\Psr7Bridge\\": "test/" + "LaminasTest\\Psr7Bridge\\": "test/" } + }, + "scripts": { + "check": [ + "@cs-check", + "@test" + ], + "cs-check": "phpcs", + "cs-fix": "phpcbf", + "test": "phpunit --colors=always", + "test-coverage": "phpunit --colors=always --coverage-clover clover.xml" + }, + "replace": { + "zendframework/zend-psr7bridge": "self.version" } } -- cgit