Drop support PHP 7 👋

This commit is contained in:
Roman Kelesidis 2023-10-02 00:52:11 +07:00
commit 7e9b564bbd
4 changed files with 216 additions and 274 deletions

View file

@ -33,7 +33,7 @@ and go from there. The documentation will be translated into english in the near
* Apache / nginx * Apache / nginx
* MySQL 5.5.3 or above / MariaDB 10.0 or above / Percona * MySQL 5.5.3 or above / MariaDB 10.0 or above / Percona
* PHP: 7.4 / 8.0 / 8.1 / 8.2 * PHP: 8.1 / 8.2
* PHP Extensions: mbstring, bcmath, intl, tidy (optional), xml, xmlwriter * PHP Extensions: mbstring, bcmath, intl, tidy (optional), xml, xmlwriter
## 💾 Installation ## 💾 Installation

View file

@ -30,24 +30,24 @@
"forum": "https://torrentpier.com" "forum": "https://torrentpier.com"
}, },
"require": { "require": {
"php": "^7.4 || ^8.0", "php": "^8.1",
"arokettu/bencode": "^1.8", "arokettu/bencode": "^4.1.0",
"bugsnag/bugsnag": "v3.29.1", "bugsnag/bugsnag": "^v3.29.1",
"egulias/email-validator": "^3.2", "egulias/email-validator": "^4.0.1",
"filp/whoops": "^2.15", "filp/whoops": "^2.15",
"gigablah/sphinxphp": "2.0.8", "gigablah/sphinxphp": "2.0.8",
"google/recaptcha": "^1.2", "google/recaptcha": "^1.3",
"guzzlehttp/guzzle": "^7.5", "guzzlehttp/guzzle": "^7.8",
"guzzlehttp/psr7": "^2.4", "guzzlehttp/psr7": "^2.6",
"longman/ip-tools": "1.2.1", "longman/ip-tools": "1.2.1",
"monolog/monolog": "^2.9", "monolog/monolog": "^3.4",
"samdark/sitemap": "2.4.0", "samdark/sitemap": "2.4.0",
"symfony/mailer": "^5.4", "symfony/mailer": "^6.3",
"symfony/polyfill": "v1.28.0", "symfony/polyfill": "v1.28.0",
"vlucas/phpdotenv": "^5.5" "vlucas/phpdotenv": "^5.5"
}, },
"require-dev": { "require-dev": {
"symfony/var-dumper": "^5.4" "symfony/var-dumper": "^6.3"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {

466
composer.lock generated

File diff suppressed because it is too large Load diff

View file

@ -16,7 +16,7 @@ define('APP_NAME', 'TorrentPier');
define('CHECK_REQIREMENTS', [ define('CHECK_REQIREMENTS', [
'status' => true, 'status' => true,
'php_min_version' => '7.4.0', 'php_min_version' => '8.1.0',
'ext_list' => [ 'ext_list' => [
'json', 'json',
'gd', 'gd',