mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-24 12:45:05 +02:00
chore: bump required php version to 7.4 (#2838)
* chore: require min php 7.4
* Revert "feat: backport php 7.3 functions (#2803)"
This reverts commit 6df5a4bc14
.
* [BandcampDaily] use array_key_first
* hard fail on php versions below 7.4
* update phpcompat linter
This commit is contained in:
parent
192dc4dae2
commit
8365a7a34d
8 changed files with 10 additions and 59 deletions
|
@ -79,9 +79,9 @@ final class Configuration {
|
|||
public static function verifyInstallation() {
|
||||
|
||||
// Check PHP version
|
||||
if(version_compare(PHP_VERSION, '7.1.0') === -1)
|
||||
self::reportError('RSS-Bridge requires at least PHP version 7.1.0!');
|
||||
|
||||
if(version_compare(PHP_VERSION, '7.4.0') === -1) {
|
||||
self::reportError('RSS-Bridge requires at least PHP version 7.4.0!');
|
||||
}
|
||||
// extensions check
|
||||
if(!extension_loaded('openssl'))
|
||||
self::reportError('"openssl" extension not loaded. Please check "php.ini"');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue