From 52f6c8399b41e0c8be49dd56c89f451843189791 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 15 Jan 2024 10:32:30 +0100 Subject: Explicit PHP version for Composer (#6039) * Explicit PHP version for Composer Follow-up of https://github.com/FreshRSS/FreshRSS/pull/6038 Ensure that we do not depend on incompatible libraries like in https://github.com/FreshRSS/FreshRSS/pull/6030 * Explicit version for PHPStan Due to changes in types, we only support PHPStan in PHP 8 mode --- phpstan.neon | 1 + 1 file changed, 1 insertion(+) (limited to 'phpstan.neon') diff --git a/phpstan.neon b/phpstan.neon index 2335f6ac9..0d9f1861a 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,6 +1,7 @@ parameters: # TODO: Increase rule-level https://phpstan.org/user-guide/rule-levels level: 8 + phpVersion: 80399 # TODO: Remove line when moving composer.json to PHP 8+ fileExtensions: - php - phtml -- cgit v1.2.3