aboutsummaryrefslogtreecommitdiff
path: root/composer.json
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-01-15 10:32:30 +0100
committerGravatar GitHub <noreply@github.com> 2024-01-15 10:32:30 +0100
commit52f6c8399b41e0c8be49dd56c89f451843189791 (patch)
tree09f42490437306c29b76126e51872399588adde9 /composer.json
parent74ed1e6c5772338f8a18f4cbf63bdfcf2ef9baaf (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.json13
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
- }
}
}