summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json18
1 files changed, 6 insertions, 12 deletions
diff --git a/composer.json b/composer.json
index 271951f..536ddee 100644
--- a/composer.json
+++ b/composer.json
@@ -19,19 +19,14 @@
"sort-packages": true
},
"extra": {
- "branch-alias": {
- "dev-release-2.4": "2.4.x-dev",
- "dev-master": "3.0.x-dev",
- "dev-develop": "3.1.x-dev"
- },
"laminas": {
"component": "Laminas\\Hydrator",
"config-provider": "Laminas\\Hydrator\\ConfigProvider"
}
},
"require": {
- "php": "^7.2",
- "laminas/laminas-stdlib": "^3.2.1",
+ "php": "^7.3 || ~8.0.0",
+ "laminas/laminas-stdlib": "^3.3",
"laminas/laminas-zendframework-bridge": "^1.0"
},
"require-dev": {
@@ -40,9 +35,8 @@
"laminas/laminas-modulemanager": "^2.8",
"laminas/laminas-serializer": "^2.9",
"laminas/laminas-servicemanager": "^3.3.2",
- "phpspec/prophecy": "^1.7.5",
- "phpstan/phpstan": "^0.10.5",
- "phpunit/phpunit": "^7.5"
+ "phpunit/phpunit": "~9.3.0",
+ "vimeo/psalm": "^3.16"
},
"suggest": {
"laminas/laminas-eventmanager": "^3.2, to support aggregate hydrator usage",
@@ -60,17 +54,17 @@
}
},
"scripts": {
- "analyse": "phpstan analyse --no-progress",
"check": [
"@cs-check",
"@test"
],
"cs-check": "phpcs",
"cs-fix": "phpcbf",
+ "static-analysis": "psalm --shepherd --stats",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
},
"replace": {
- "zendframework/zend-hydrator": "self.version"
+ "zendframework/zend-hydrator": "^3.0.2"
}
}