From 0e545326950614772d95eb2ced7a68f8cfd3494d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 23 Mar 2021 10:13:32 +0100 Subject: update to 2.0.1 add dependency on psr/log switch to phpunit9 with yoast/phpunit-polyfills --- composer.json | 37 +++++++++++++------------------------ 1 file changed, 13 insertions(+), 24 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 70106a4..3f013c3 100644 --- a/composer.json +++ b/composer.json @@ -8,8 +8,8 @@ "email": "greg.1.anderson@greenknowe.org" } ], - "autoload":{ - "psr-4":{ + "autoload": { + "psr-4": { "Consolidation\\Config\\": "src" } }, @@ -21,31 +21,32 @@ "require": { "php": ">=7.1.3", "dflydev/dot-access-data": "^1.1.0", - "grasmash/expander": "^1" + "grasmash/expander": "^1", + "psr/log": "^1.1", + "symfony/event-dispatcher": "^4||^5" }, "require-dev": { - "g1a/composer-test-scenarios": "^3", - "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^6", + "phpunit/phpunit": ">=7.5.20", "squizlabs/php_codesniffer": "^3", - "symfony/console": "^4|^5", - "symfony/event-dispatcher": "^4|^5", - "symfony/yaml": "^4|^5" + "symfony/console": "^4||^5", + "symfony/yaml": "^4||^5", + "yoast/phpunit-polyfills": "^0.2.0" }, "suggest": { + "symfony/event-dispatcher": "Required to inject configuration into Command options", "symfony/yaml": "Required to use Consolidation\\Config\\Loader\\YamlConfigLoader" }, "config": { "optimize-autoloader": true, "sort-packages": true, "platform": { - "php": "7.2.28" + "php": "7.4.9" } }, "scripts": { "cs": "phpcs --standard=PSR2 -n src", "cbf": "phpcbf --standard=PSR2 -n src", - "unit": "SHELL_INTERACTIVE=true 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" @@ -57,20 +58,8 @@ ] }, "extra": { - "scenarios": { - "symfony4": { - "require-dev": { - "symfony/console": "^4" - }, - "config": { - "platform": { - "php": "7.1.3" - } - } - } - }, "branch-alias": { - "dev-master": "2.x-dev" + "dev-main": "2.x-dev" } } } -- cgit