From d7386f49bd13b1475d2c0f43b749078f5e2246d1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 17 Oct 2022 14:03:55 +0200 Subject: update to 2.9.0 raise dependency on PHP 8.0 --- composer.json | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 646c57f..a15a36a 100644 --- a/composer.json +++ b/composer.json @@ -17,15 +17,23 @@ "forum": "https://discourse.laminas.dev" }, "config": { - "sort-packages": true + "sort-packages": true, + "platform": { + "php": "8.0.99" + }, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } }, "extra": {}, "require": { - "php": "^7.3 || ~8.0.0 || ~8.1.0" + "php": "~8.0.0 || ~8.1.0 || ~8.2.0" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "phpunit/phpunit": "^9.5" + "laminas/laminas-coding-standard": "~2.4.0", + "phpunit/phpunit": "^9.5", + "psalm/plugin-phpunit": "^0.17.0", + "vimeo/psalm": "^4.24" }, "autoload": { "classmap": [ @@ -45,7 +53,8 @@ "cs-check": "phpcs", "cs-fix": "phpcbf", "test": "phpunit --colors=always", - "test-coverage": "phpunit --colors=always --coverage-clover clover.xml" + "test-coverage": "phpunit --colors=always --coverage-clover clover.xml", + "static-analysis": "psalm --shepherd --stats" }, "conflict": { "zendframework/zend-i18n-resources": "*" -- cgit