From b370bc529bde643b06f344d39eee94c1c4ab9556 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 3 Apr 2018 06:44:40 +0200 Subject: update to 3.2.0 from Fedora * Fri Mar 30 2018 Shawn Iwinski - 3.2.0-1 - Update to 3.2.0 (RHBZ #1505200) * Fri Mar 30 2018 Shawn Iwinski - 3.1.13-2 - Update range dependencies' conditional to include RHEL8+ --- composer.json | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index adaba21..604b44c 100644 --- a/composer.json +++ b/composer.json @@ -24,25 +24,49 @@ "symfony/finder": "^2.5|^3|^4" }, "require-dev": { - "phpunit/phpunit": "^4.8", - "satooshi/php-coveralls": "^1.0.2 | dev-master", + "g-1-a/composer-test-scenarios": "^2", + "satooshi/php-coveralls": "^2", + "phpunit/phpunit": "^5.7.27", "squizlabs/php_codesniffer": "^2.7", + "symfony/console": "3.2.3", + "symfony/var-dumper": "^2.8|^3|^4", "victorjonsson/markdowndocs": "^1.3" }, + "suggest": { + "symfony/var-dumper": "For using the var_dump formatter" + }, + "config": { + "optimize-autoloader": true, + "sort-packages": true, + "platform": { + "php": "5.6.32" + } + }, "scripts": { "api": "phpdoc-md generate src > docs/api.md", "cs": "phpcs --standard=PSR2 -n src", "cbf": "phpcbf --standard=PSR2 -n src", - "test": "phpunit --colors=always" + "unit": "phpunit --colors=always", + "lint": [ + "find src -name '*.php' -print0 | xargs -0 -n1 php -l", + "find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l" + ], + "test": [ + "@lint", + "@unit", + "@cs" + ], + "scenario": "scenarios/install", + "post-update-cmd": [ + "create-scenario symfony4 'symfony/console:^4.0' 'phpunit/phpunit:^6' --platform-php '7.1.3'", + "create-scenario symfony3 'symfony/console:^3.4' 'symfony/finder:^3.4' 'symfony/var-dumper:^3.4' --platform-php '5.6.32'", + "create-scenario symfony2 'symfony/console:^2.8' 'phpunit/phpunit:^4.8.36' --remove 'satooshi/php-coveralls' --platform-php '5.4' --no-lockfile", + "dependency-licenses" + ] }, "extra": { "branch-alias": { "dev-master": "3.x-dev" } - }, - "config": { - "platform": { - "php": "5.6" - } } } -- cgit