mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
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:
parent
8515c9d223
commit
4d6897f063
@ -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'
|
||||||
|
@ -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)
|
||||||
|
@ -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"
|
||||||
},
|
},
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user