From f365a9aeb44c33a1c817ae19a6027aa0fbffd706 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 19 Jun 2022 20:08:42 +0200 Subject: Update all test dependencies (#4419) * Update all test dependencies * Remove old false-positive * Minor update lock files * Increase PHPStan memory for Fedora https://github.com/FreshRSS/FreshRSS/pull/4400#issuecomment-1159514197 * Require PHP8+ for tests Due to small changes of signature in `ob_implicit_flush` and `simplexml_load_string`, cf. https://github.com/FreshRSS/FreshRSS/pull/4123 * Missing lint in CSS files --- composer.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index f62310162..30ca61c01 100644 --- a/composer.json +++ b/composer.json @@ -17,19 +17,20 @@ "WebSub" ], "require": { - "php": ">=7.0.0" + "php": ">=7.0" }, "require-dev": { - "phpstan/phpstan": "^1.4", + "php": ">=8.0", + "phpstan/phpstan": "~1.7.14", "phpunit/phpunit": "^9", - "squizlabs/php_codesniffer": "^3.6" + "squizlabs/php_codesniffer": "^3.7" }, "scripts": { "php-lint": "find . -type d -name 'vendor' -prune -o -name '*.php' -print0 | xargs -0 -n1 -P4 php -l 1>/dev/null", "phtml-lint": "find . -type d -name 'vendor' -prune -o -name '*.phtml' -print0 | xargs -0 -n1 -P4 php -l 1>/dev/null", "phpcs": "phpcs . -s", "phpcbf": "phpcbf . -p -s", - "phpstan": "phpstan analyse .", + "phpstan": "phpstan analyse --memory-limit 512M .", "phpunit": "phpunit --bootstrap ./tests/bootstrap.php --verbose ./tests", "translations": "cli/manipulate.translation.php -a format", "test": [ -- cgit v1.2.3