diff options
| author | 2024-01-15 10:32:30 +0100 | |
|---|---|---|
| committer | 2024-01-15 10:32:30 +0100 | |
| commit | 52f6c8399b41e0c8be49dd56c89f451843189791 (patch) | |
| tree | 09f42490437306c29b76126e51872399588adde9 /composer.json | |
| parent | 74ed1e6c5772338f8a18f4cbf63bdfcf2ef9baaf (diff) | |
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
Diffstat (limited to 'composer.json')
| -rw-r--r-- | composer.json | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/composer.json b/composer.json index 89a077032..154d97ac3 100644 --- a/composer.json +++ b/composer.json @@ -44,6 +44,14 @@ "ext-pdo_mysql": "*", "ext-pdo_pgsql": "*" }, + "config": { + "allow-plugins": { + "phpstan/extension-installer": false + }, + "platform": { + "php": "7.4" + } + }, "require-dev": { "php": ">=7.4", "ext-phar": "*", @@ -76,10 +84,5 @@ "@translations", "@phpcbf" ] - }, - "config": { - "allow-plugins": { - "phpstan/extension-installer": false - } } } |
