diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/composer.json b/composer.json index 7c74b95..f916943 100644 --- a/composer.json +++ b/composer.json @@ -19,6 +19,9 @@ "sort-packages": true, "allow-plugins": { "dealerdirect/phpcodesniffer-composer-installer": true + }, + "platform": { + "php": "7.4.99" } }, "extra": { @@ -38,7 +41,9 @@ }, "require-dev": { "laminas/laminas-coding-standard": "~2.3.0", - "phpunit/phpunit": "^9.5.11" + "phpunit/phpunit": "^9.5.11", + "psalm/plugin-phpunit": "^0.17.0", + "vimeo/psalm": "^4.24" }, "conflict": { "laminas/laminas-mvc": "<3.0.0", @@ -64,6 +69,7 @@ "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" } } |