1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-29 04:40:19 +02:00

[core] Drop php 5.6 and php 7.0 support (#2224)

This commit is contained in:
Eugene Molotov
2021-12-03 04:12:16 +05:00
committed by GitHub
parent ae6a3227b0
commit 071fdef599
9 changed files with 220 additions and 264 deletions

View File

@@ -56,7 +56,7 @@ final class Configuration {
* not satisfy the requirements of RSS-Bridge.
*
* **Requirements**
* - PHP 5.6.0 or higher
* - PHP 7.1.0 or higher
* - `openssl` extension
* - `libxml` extension
* - `mbstring` extension
@@ -79,8 +79,8 @@ final class Configuration {
public static function verifyInstallation() {
// Check PHP version
if(version_compare(PHP_VERSION, '5.6.0') === -1)
self::reportError('RSS-Bridge requires at least PHP version 5.6.0!');
if(version_compare(PHP_VERSION, '7.1.0') === -1)
self::reportError('RSS-Bridge requires at least PHP version 7.1.0!');
// extensions check
if(!extension_loaded('openssl'))