From 750e6f9960eaa3b9d3d2865833a78f8d3e0d13a5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 6 Jan 2022 11:45:35 +0100 Subject: update to 4.3.1 rename to php-laminas-hydrator4 install in /usr/share/php/Laminas/Hydrator4 add dependency on webmozart/assert drop ZF compatibility layer --- composer.json | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 536ddee..508f417 100644 --- a/composer.json +++ b/composer.json @@ -25,18 +25,21 @@ } }, "require": { - "php": "^7.3 || ~8.0.0", + "php": "^7.3 || ~8.0.0 || ~8.1.0", "laminas/laminas-stdlib": "^3.3", - "laminas/laminas-zendframework-bridge": "^1.0" + "webmozart/assert": "^1.10" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-coding-standard": "~2.3.0", "laminas/laminas-eventmanager": "^3.2.1", "laminas/laminas-modulemanager": "^2.8", "laminas/laminas-serializer": "^2.9", "laminas/laminas-servicemanager": "^3.3.2", - "phpunit/phpunit": "~9.3.0", - "vimeo/psalm": "^3.16" + "phpbench/phpbench": "^1.0", + "phpunit/phpunit": "~9.5.5", + "psalm/plugin-phpunit": "^0.16.1", + "psr/cache": "1.0.1", + "vimeo/psalm": "^4.8.1" }, "suggest": { "laminas/laminas-eventmanager": "^3.2, to support aggregate hydrator usage", @@ -50,10 +53,12 @@ }, "autoload-dev": { "psr-4": { - "LaminasTest\\Hydrator\\": "test/" + "LaminasTest\\Hydrator\\": "test/", + "LaminasBench\\Hydrator\\": "benchmark/" } }, "scripts": { + "benchmark": "phpbench run --revs=2 --iterations=2 --report=aggregate", "check": [ "@cs-check", "@test" @@ -64,7 +69,7 @@ "test": "phpunit --colors=always", "test-coverage": "phpunit --colors=always --coverage-clover clover.xml" }, - "replace": { - "zendframework/zend-hydrator": "^3.0.2" + "conflict": { + "zendframework/zend-hydrator": "*" } } -- cgit