From 47343f53f489c37748119ce2b0087351c158ab28 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 22 Jul 2022 14:07:24 +0200 Subject: update to 2.13.0 raise dependency on PHP 7.4 raise dependency on laminas-eventmanager 3.5 raise dependency on laminas-servicemanager 3.15.1 raise dependency on laminas-stdlib 3.10.1 --- composer.json | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 3e2d75f..e76dd77 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,14 @@ "forum": "https://discourse.laminas.dev" }, "config": { - "sort-packages": true + "sort-packages": true, + "platform": { + "php": "7.4.99" + }, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true, + "ocramius/package-versions": true + } }, "extra": { "laminas": { @@ -25,23 +32,24 @@ } }, "require": { - "php": "^7.3 || ~8.0.0 || ~8.1.0", - "laminas/laminas-eventmanager": "^3.4", - "laminas/laminas-stdlib": "^3.6" + "php": "^7.4 || ~8.0.0 || ~8.1.0", + "laminas/laminas-eventmanager": "^3.5", + "laminas/laminas-servicemanager": "^3.15.1", + "laminas/laminas-stdlib": "^3.10.1" }, "require-dev": { - "container-interop/container-interop": "^1.1", - "laminas/laminas-cache": "3.0.x-dev", - "laminas/laminas-cache-storage-adapter-memory": "2.0.x-dev", - "laminas/laminas-coding-standard": "~2.2.1", + "laminas/laminas-cache": "^3.1.3", + "laminas/laminas-cache-storage-adapter-memory": "^2.0.0", + "laminas/laminas-coding-standard": "~2.3.0", "laminas/laminas-db": "^2.13.4", "laminas/laminas-http": "^2.15", - "laminas/laminas-servicemanager": "^3.7", "laminas/laminas-validator": "^2.15", - "mongodb/mongodb": "v1.9.x-dev", + "mongodb/mongodb": "~1.12.0", "php-mock/php-mock-phpunit": "^1.1.2 || ^2.0", "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5.9" + "phpunit/phpunit": "^9.5.9", + "psalm/plugin-phpunit": "^0.17.0", + "vimeo/psalm": "^4.24.0" }, "suggest": { "laminas/laminas-cache": "Laminas\\Cache component", @@ -72,7 +80,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-session": "*" -- cgit