Update required PHP version to 7.1.3

Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
This commit is contained in:
Yuriy Pikhtarev 2018-06-24 15:10:48 +03:00
commit 4667c92f60
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6
5 changed files with 1322 additions and 17 deletions

1
.gitignore vendored
View file

@ -2,7 +2,6 @@
.idea
.php_cs.cache
composer.phar
composer.lock
configs/local.php
data/avatars
data/torrent_files

View file

@ -28,8 +28,8 @@ and go from there. The documentation will be translated into english in the near
* Apache / nginx
* MySQL / MariaDB / Percona
* PHP: 5.6 / 7.0 / 7.1
* PHP Extensions: bcmath, intl, tidy (optional), xml
* PHP: 7.1 / 7.2 / 7.3
* PHP Extensions: bcmath, intl, tidy (optional), xml, xmlwriter
## Installation

View file

@ -35,18 +35,20 @@
"docs": "https://docs.torrentpier.com/"
},
"require": {
"php": "^5.6 || ^7.0",
"bugsnag/bugsnag": "^3.5",
"filp/whoops": "^2.1",
"gigablah/sphinxphp": "^2.0",
"google/recaptcha": "^1.1",
"longman/ip-tools": "^1.2",
"roave/security-advisories": "dev-master",
"rych/bencode": "^1.0",
"samdark/sitemap": "^2.0",
"swiftmailer/swiftmailer": "^5.4",
"symfony/dotenv": "^3.3",
"symfony/var-dumper": "^3.3"
"php": "^7.1.3",
"bugsnag/bugsnag": "3.13.0",
"filp/whoops": "^2.2.0",
"gigablah/sphinxphp": "2.0.8",
"google/recaptcha": "1.1.3",
"longman/ip-tools": "1.2.1",
"rych/bencode": "1.0.0",
"samdark/sitemap": "2.2.0",
"swiftmailer/swiftmailer": "6.0.2",
"symfony/dotenv": "4.1.0",
"symfony/var-dumper": "4.1.0"
},
"require-dev": {
"roave/security-advisories": "dev-master"
},
"autoload": {
"psr-4": {

1304
composer.lock generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -14,8 +14,8 @@ if (!defined('BB_ROOT')) {
/**
* Check PHP version
*/
if (version_compare(PHP_VERSION, '5.6', '<')) {
die('TorrentPier requires PHP version 5.6+. Your PHP version ' . PHP_VERSION);
if (PHP_VERSION_ID < 70103) {
die('TorrentPier requires PHP version 7.1.3+. Your PHP version ' . PHP_VERSION);
}
/**