increasing minimum PHP version to 5.5 as this is required by the yzalis/identicon library upgrade to version 1.2.0

This commit is contained in:
El RIDO 2019-06-16 10:50:52 +02:00
parent 8515c9d223
commit 4d6897f063
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
4 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,6 @@
language: php language: php
sudo: false sudo: false
php: php:
- '5.4'
- '5.5' - '5.5'
- '5.6' - '5.6'
- '7.0' - '7.0'

View File

@ -11,7 +11,7 @@ options](#configuration) to adjust as you see fit.
### Minimal requirements ### Minimal requirements
- PHP version 5.4 or above - PHP version 5.5 or above
- _one_ of the following sources of cryptographically safe randomness is required: - _one_ of the following sources of cryptographically safe randomness is required:
- PHP 7 or higher - PHP 7 or higher
- [Libsodium](https://download.libsodium.org/libsodium/content/installation/) and it's [PHP extension](https://paragonie.com/book/pecl-libsodium/read/00-intro.md#installing-libsodium) - [Libsodium](https://download.libsodium.org/libsodium/content/installation/) and it's [PHP extension](https://paragonie.com/book/pecl-libsodium/read/00-intro.md#installing-libsodium)

View File

@ -24,7 +24,7 @@
"docs" : "https://privatebin.info/codedoc/" "docs" : "https://privatebin.info/codedoc/"
}, },
"require" : { "require" : {
"php" : "^5.4.0 || ^7.0", "php" : "^5.5.0 || ^7.0",
"paragonie/random_compat" : "2.0.18", "paragonie/random_compat" : "2.0.18",
"yzalis/identicon" : "1.2.0" "yzalis/identicon" : "1.2.0"
}, },

View File

@ -35,7 +35,7 @@ class Controller
* *
* @const string * @const string
*/ */
const MIN_PHP_VERSION = '5.4.0'; const MIN_PHP_VERSION = '5.5.0';
/** /**
* show the same error message if the paste expired or does not exist * show the same error message if the paste expired or does not exist