diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/composer.json b/composer.json index da21e29..b2cbfd4 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "config": { "sort-packages": true, "platform": { - "php": "7.4.99" + "php": "8.0.99" }, "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true @@ -29,15 +29,16 @@ "extra": { }, "require": { - "php": "^7.4 || ~8.0.0 || ~8.1.0" + "php": "~8.0.0 || ~8.1.0 || ~8.2.0" }, "require-dev": { + "laminas/laminas-coding-standard": "~2.4.0", + "laminas/laminas-stdlib": "^3.15", + "phpbench/phpbench": "^1.2.6", + "phpunit/phpunit": "^9.5.25", + "psalm/plugin-phpunit": "^0.17.0", "psr/container": "^1.1.2 || ^2.0.2", - "laminas/laminas-coding-standard": "~2.2.1", - "laminas/laminas-stdlib": "^3.6", - "phpbench/phpbench": "^1.1", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5.5" + "vimeo/psalm": "^4.28" }, "suggest": { "psr/container": "^1.1.2 || ^2.0.2, to use the lazy listeners feature", @@ -52,10 +53,7 @@ "psr-4": { "LaminasTest\\EventManager\\": "test/", "LaminasBench\\EventManager\\": "benchmarks/" - }, - "files": [ - "test/_autoload.php" - ] + } }, "scripts": { "benchmark": "phpbench run --revs=2 --iterations=2 --report=aggregate", @@ -66,7 +64,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": { "container-interop/container-interop": "<1.2", |