mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-01 00:25:09 +02:00
[core] Drop php 5.6 and php 7.0 support (#2224)
This commit is contained in:
parent
ae6a3227b0
commit
071fdef599
9 changed files with 220 additions and 264 deletions
|
@ -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'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue