From 5a1f56c3eedcaa97d185b0322cb2119a1c01c1a4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 25 Apr 2024 15:54:07 +0200 Subject: update to 5.4.0 raise dependency on PHP 7.4 raise dependency on phpdocumentor/type-resolver 1.7 add dependency on phpstan/phpdoc-parser add dependency on doctrine/deprecations --- composer.json | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index d907630..cf8f49d 100644 --- a/composer.json +++ b/composer.json @@ -10,19 +10,26 @@ }, { "name": "Jaap van Otterdijk", - "email": "account@ijaap.nl" + "email": "opensource@ijaap.nl" } ], "require": { - "php": "^7.2 || ^8.0", - "phpdocumentor/type-resolver": "^1.3", + "php": "^7.4 || ^8.0", + "phpdocumentor/type-resolver": "^1.7", "webmozart/assert": "^1.9.1", "phpdocumentor/reflection-common": "^2.2", - "ext-filter": "*" + "ext-filter": "*", + "phpstan/phpdoc-parser": "^1.7", + "doctrine/deprecations": "^1.1" }, "require-dev": { - "mockery/mockery": "~1.3.2", - "psalm/phar": "^4.8" + "mockery/mockery": "~1.3.5", + "phpunit/phpunit": "^9.5", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan-webmozart-assert": "^1.2", + "vimeo/psalm": "^5.13" }, "autoload": { "psr-4": { @@ -34,6 +41,14 @@ "phpDocumentor\\Reflection\\": ["tests/unit", "tests/integration"] } }, + "config": { + "platform": { + "php":"7.4.0" + }, + "allow-plugins": { + "phpstan/extension-installer": true + } + }, "extra": { "branch-alias": { "dev-master": "5.x-dev" -- cgit