From 193c4694a76547fd67ed6698d8476002a752b5f8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 May 2026 08:19:32 +0200 Subject: update to 2.6.0 raise dependency on PHP 8.2 --- composer.json | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 936003a..9ba02be 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ } ], "require": { - "php": ">=8.1", + "php": ">=8.2", "ext-pcre": "*" }, "minimum-stability": "dev", @@ -44,9 +44,7 @@ }, "require-dev": { "pdepend/pdepend": "^2.16", - "phpmd/phpmd": "^2.15", - "phpunit/phpunit": "^13.1 || ^12.5 || ^11.5 || ^10.5", - "squizlabs/php_codesniffer": "^4.0", + "phpunit/phpunit": "^13.1 || ^12.5 || ^11.5", "phpcompatibility/php-compatibility": "^10.0.0@dev" }, "autoload": { @@ -63,8 +61,8 @@ }, "scripts": { "test": "XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr test", - "cs-check": "./vendor/bin/phpcs --standard=phpcs.xml", - "cs-fix": "./vendor/bin/phpcbf --ignore=\"./vendor/\" --standard=psr12 src test", - "analyse": "./vendor/phpstan.phar analyse" + "cs-check": "./vendor/bin/mago --config ./mago.src.toml lint src && ./vendor/bin/mago --config ./mago.test.toml lint test", + "cs-fix": "./vendor/bin/mago fmt src test", + "analyse": "./vendor/bin/mago --config ./mago.src.toml analyze src && ./vendor/bin/mago --config ./mago.test.toml analyze test" } } -- cgit