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:
@@ -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'))
|
||||
|
Reference in New Issue
Block a user