From 7189f5a17cb20b913767f46fee5ea00f5539dbb7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 30 Mar 2018 09:25:17 +0200 Subject: update to 2.7.0 raise dependency on PHP 5.6 use phpunit6 --- composer.json | 53 ++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 36 insertions(+), 17 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index d4e9bb3..3df3bb8 100644 --- a/composer.json +++ b/composer.json @@ -3,24 +3,28 @@ "description": "provides tools for working with DOM documents and structures", "license": "BSD-3-Clause", "keywords": [ - "zf2", + "zf", + "zendframework", "dom" ], - "homepage": "https://github.com/zendframework/zend-dom", - "autoload": { - "psr-4": { - "Zend\\Dom\\": "src/" - } + "support": { + "docs": "https://docs.zendframework.com/zend-dom/", + "issues": "https://github.com/zendframework/zend-dom/issues", + "source": "https://github.com/zendframework/zend-dom", + "rss": "https://github.com/zendframework/zend-dom/releases.atom", + "slack": "https://zendframework-slack.herokuapp.com", + "forum": "https://discourse.zendframework.com/c/questions/components" }, "require": { - "php": ">=5.5" + "php": "^5.6 || ^7.0" }, - "minimum-stability": "dev", - "prefer-stable": true, - "extra": { - "branch-alias": { - "dev-master": "2.5-dev", - "dev-develop": "2.6-dev" + "require-dev": { + "phpunit/phpunit": "^5.7.23 || ^6.4.3", + "zendframework/zend-coding-standard": "~1.0.0" + }, + "autoload": { + "psr-4": { + "Zend\\Dom\\": "src/" } }, "autoload-dev": { @@ -28,8 +32,23 @@ "ZendTest\\Dom\\": "test/" } }, - "require-dev": { - "fabpot/php-cs-fixer": "1.7.*", - "phpunit/PHPUnit": "~4.0" + "config": { + "sort-packages": true + }, + "extra": { + "branch-alias": { + "dev-master": "2.7.x-dev", + "dev-develop": "2.8.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" } -} \ No newline at end of file +} -- cgit