mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
chore: Update minimum PHP requirement to 8.2
This commit is contained in:
parent
423424e947
commit
eba0187568
6 changed files with 106 additions and 133 deletions
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
|
@ -41,7 +41,7 @@ jobs:
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '8.1'
|
php-version: '8.2'
|
||||||
|
|
||||||
- name: Install Composer dependencies
|
- name: Install Composer dependencies
|
||||||
run: composer install --no-dev --no-progress --prefer-dist --optimize-autoloader
|
run: composer install --no-dev --no-progress --prefer-dist --optimize-autoloader
|
||||||
|
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
- name: Setup PHP 🔩
|
- name: Setup PHP 🔩
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '8.1'
|
php-version: '8.2'
|
||||||
|
|
||||||
- name: Install Composer dependencies 🪚
|
- name: Install Composer dependencies 🪚
|
||||||
run: composer install --no-dev --no-progress --prefer-dist --optimize-autoloader
|
run: composer install --no-dev --no-progress --prefer-dist --optimize-autoloader
|
||||||
|
@ -54,7 +54,7 @@ jobs:
|
||||||
- name: 🔩 Setup PHP
|
- name: 🔩 Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '8.1'
|
php-version: '8.2'
|
||||||
|
|
||||||
- name: 🖇 Install Composer dependencies
|
- name: 🖇 Install Composer dependencies
|
||||||
run: composer install --no-dev --no-progress --prefer-dist --optimize-autoloader
|
run: composer install --no-dev --no-progress --prefer-dist --optimize-autoloader
|
||||||
|
|
|
@ -57,7 +57,7 @@ and go from there. The documentation will be translated to English in the near f
|
||||||
|
|
||||||
* Apache / nginx ([example config](install/nginx.conf)) / caddy ([example config](install/Caddyfile))
|
* Apache / nginx ([example config](install/nginx.conf)) / caddy ([example config](install/Caddyfile))
|
||||||
* MySQL 5.5.3 or above (including MySQL 8.0+) / MariaDB 10.0 or above / Percona
|
* MySQL 5.5.3 or above (including MySQL 8.0+) / MariaDB 10.0 or above / Percona
|
||||||
* PHP: 8.1 / 8.2 / 8.3 / 8.4 (8.2+ required for development dependencies)
|
* PHP: 8.2 / 8.3 / 8.4
|
||||||
* PHP Extensions: mbstring, gd, bcmath, intl, tidy (optional), xml, xmlwriter
|
* PHP Extensions: mbstring, gd, bcmath, intl, tidy (optional), xml, xmlwriter
|
||||||
* Crontab (Recommended)
|
* Crontab (Recommended)
|
||||||
|
|
||||||
|
|
|
@ -46,9 +46,9 @@
|
||||||
"forum": "https://torrentpier.com"
|
"forum": "https://torrentpier.com"
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.1",
|
"php": ">=8.2",
|
||||||
"arokettu/bencode": "^4.1.0",
|
"arokettu/bencode": "^4.1.0",
|
||||||
"arokettu/monsterid": "dev-master",
|
"arokettu/monsterid": "^4.1.0",
|
||||||
"arokettu/random-polyfill": "1.0.2",
|
"arokettu/random-polyfill": "1.0.2",
|
||||||
"arokettu/torrent-file": "^5.2.1",
|
"arokettu/torrent-file": "^5.2.1",
|
||||||
"belomaxorka/captcha": "1.*",
|
"belomaxorka/captcha": "1.*",
|
||||||
|
@ -70,11 +70,7 @@
|
||||||
"php-curl-class/php-curl-class": "^12.0.0",
|
"php-curl-class/php-curl-class": "^12.0.0",
|
||||||
"robmorgan/phinx": "^0.16.9",
|
"robmorgan/phinx": "^0.16.9",
|
||||||
"samdark/sitemap": "2.4.1",
|
"samdark/sitemap": "2.4.1",
|
||||||
"symfony/event-dispatcher": "^6.4",
|
"symfony/mailer": "^7.3",
|
||||||
"symfony/filesystem": "^6.4",
|
|
||||||
"symfony/finder": "^6.4",
|
|
||||||
"symfony/mailer": "^6.4",
|
|
||||||
"symfony/mime": "^6.4",
|
|
||||||
"symfony/polyfill": "v1.32.0",
|
"symfony/polyfill": "v1.32.0",
|
||||||
"vlucas/phpdotenv": "^5.5",
|
"vlucas/phpdotenv": "^5.5",
|
||||||
"z4kn4fein/php-semver": "^v3.0.0"
|
"z4kn4fein/php-semver": "^v3.0.0"
|
||||||
|
@ -82,7 +78,7 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"mockery/mockery": "^1.6",
|
"mockery/mockery": "^1.6",
|
||||||
"pestphp/pest": "^3.8",
|
"pestphp/pest": "^3.8",
|
||||||
"symfony/var-dumper": "^6.4"
|
"symfony/var-dumper": "^7.3"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
@ -102,6 +98,6 @@
|
||||||
"php-http/discovery": true
|
"php-http/discovery": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "stable",
|
||||||
"prefer-stable": true
|
"prefer-stable": true
|
||||||
}
|
}
|
||||||
|
|
194
composer.lock
generated
194
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "22ce2e2cd48a2460b740ef920c114be6",
|
"content-hash": "7a49154cbc59ebda181451dd8fa93a6d",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "arokettu/bencode",
|
"name": "arokettu/bencode",
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "arokettu/monsterid",
|
"name": "arokettu/monsterid",
|
||||||
"version": "dev-master",
|
"version": "4.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/arokettu/monsterid.git",
|
"url": "https://github.com/arokettu/monsterid.git",
|
||||||
|
@ -171,7 +171,6 @@
|
||||||
"squizlabs/php_codesniffer": "*",
|
"squizlabs/php_codesniffer": "*",
|
||||||
"vimeo/psalm": "^5.4 || ^6.0"
|
"vimeo/psalm": "^5.4 || ^6.0"
|
||||||
},
|
},
|
||||||
"default-branch": true,
|
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"discovery": {
|
"discovery": {
|
||||||
|
@ -605,7 +604,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "cakephp/core",
|
"name": "cakephp/core",
|
||||||
"version": "5.2.4",
|
"version": "5.2.5",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/cakephp/core.git",
|
"url": "https://github.com/cakephp/core.git",
|
||||||
|
@ -672,16 +671,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "cakephp/database",
|
"name": "cakephp/database",
|
||||||
"version": "5.2.4",
|
"version": "5.2.5",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/cakephp/database.git",
|
"url": "https://github.com/cakephp/database.git",
|
||||||
"reference": "8c4eaecf6612274b445172b680dc47a2dad681a9"
|
"reference": "a6bf606b1bab532d04ea504fef8a272a1aeba287"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/cakephp/database/zipball/8c4eaecf6612274b445172b680dc47a2dad681a9",
|
"url": "https://api.github.com/repos/cakephp/database/zipball/a6bf606b1bab532d04ea504fef8a272a1aeba287",
|
||||||
"reference": "8c4eaecf6612274b445172b680dc47a2dad681a9",
|
"reference": "a6bf606b1bab532d04ea504fef8a272a1aeba287",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -735,11 +734,11 @@
|
||||||
"issues": "https://github.com/cakephp/cakephp/issues",
|
"issues": "https://github.com/cakephp/cakephp/issues",
|
||||||
"source": "https://github.com/cakephp/database"
|
"source": "https://github.com/cakephp/database"
|
||||||
},
|
},
|
||||||
"time": "2025-05-09T15:08:51+00:00"
|
"time": "2025-06-18T02:55:13+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "cakephp/datasource",
|
"name": "cakephp/datasource",
|
||||||
"version": "5.2.4",
|
"version": "5.2.5",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/cakephp/datasource.git",
|
"url": "https://github.com/cakephp/datasource.git",
|
||||||
|
@ -806,16 +805,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "cakephp/utility",
|
"name": "cakephp/utility",
|
||||||
"version": "5.2.4",
|
"version": "5.2.5",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/cakephp/utility.git",
|
"url": "https://github.com/cakephp/utility.git",
|
||||||
"reference": "76dcd5c20e46aaf5bfdf9ad51e9f5313abffe104"
|
"reference": "7eaef40766bf671332adfacdc2d6fb9ea8aea5de"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/cakephp/utility/zipball/76dcd5c20e46aaf5bfdf9ad51e9f5313abffe104",
|
"url": "https://api.github.com/repos/cakephp/utility/zipball/7eaef40766bf671332adfacdc2d6fb9ea8aea5de",
|
||||||
"reference": "76dcd5c20e46aaf5bfdf9ad51e9f5313abffe104",
|
"reference": "7eaef40766bf671332adfacdc2d6fb9ea8aea5de",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -866,7 +865,7 @@
|
||||||
"issues": "https://github.com/cakephp/cakephp/issues",
|
"issues": "https://github.com/cakephp/cakephp/issues",
|
||||||
"source": "https://github.com/cakephp/utility"
|
"source": "https://github.com/cakephp/utility"
|
||||||
},
|
},
|
||||||
"time": "2025-04-19T12:34:03+00:00"
|
"time": "2025-05-21T14:35:19+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "claviska/simpleimage",
|
"name": "claviska/simpleimage",
|
||||||
|
@ -3569,22 +3568,22 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/config",
|
"name": "symfony/config",
|
||||||
"version": "v7.0.8",
|
"version": "v7.3.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/config.git",
|
"url": "https://github.com/symfony/config.git",
|
||||||
"reference": "f8a8fb0c2d0a188a00a2dd5af8a4eb070641ec60"
|
"reference": "ba62ae565f1327c2f6366726312ed828c85853bc"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/config/zipball/f8a8fb0c2d0a188a00a2dd5af8a4eb070641ec60",
|
"url": "https://api.github.com/repos/symfony/config/zipball/ba62ae565f1327c2f6366726312ed828c85853bc",
|
||||||
"reference": "f8a8fb0c2d0a188a00a2dd5af8a4eb070641ec60",
|
"reference": "ba62ae565f1327c2f6366726312ed828c85853bc",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.2",
|
"php": ">=8.2",
|
||||||
"symfony/deprecation-contracts": "^2.5|^3",
|
"symfony/deprecation-contracts": "^2.5|^3",
|
||||||
"symfony/filesystem": "^6.4|^7.0",
|
"symfony/filesystem": "^7.1",
|
||||||
"symfony/polyfill-ctype": "~1.8"
|
"symfony/polyfill-ctype": "~1.8"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
|
@ -3624,7 +3623,7 @@
|
||||||
"description": "Helps you find, load, combine, autofill and validate configuration values of any kind",
|
"description": "Helps you find, load, combine, autofill and validate configuration values of any kind",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/config/tree/v7.0.8"
|
"source": "https://github.com/symfony/config/tree/v7.3.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -3640,7 +3639,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2024-05-31T14:55:39+00:00"
|
"time": "2025-05-15T09:04:05+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/console",
|
"name": "symfony/console",
|
||||||
|
@ -3805,24 +3804,24 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/event-dispatcher",
|
"name": "symfony/event-dispatcher",
|
||||||
"version": "v6.4.13",
|
"version": "v7.3.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/event-dispatcher.git",
|
"url": "https://github.com/symfony/event-dispatcher.git",
|
||||||
"reference": "0ffc48080ab3e9132ea74ef4e09d8dcf26bf897e"
|
"reference": "497f73ac996a598c92409b44ac43b6690c4f666d"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/0ffc48080ab3e9132ea74ef4e09d8dcf26bf897e",
|
"url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/497f73ac996a598c92409b44ac43b6690c4f666d",
|
||||||
"reference": "0ffc48080ab3e9132ea74ef4e09d8dcf26bf897e",
|
"reference": "497f73ac996a598c92409b44ac43b6690c4f666d",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.1",
|
"php": ">=8.2",
|
||||||
"symfony/event-dispatcher-contracts": "^2.5|^3"
|
"symfony/event-dispatcher-contracts": "^2.5|^3"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"symfony/dependency-injection": "<5.4",
|
"symfony/dependency-injection": "<6.4",
|
||||||
"symfony/service-contracts": "<2.5"
|
"symfony/service-contracts": "<2.5"
|
||||||
},
|
},
|
||||||
"provide": {
|
"provide": {
|
||||||
|
@ -3831,13 +3830,13 @@
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"psr/log": "^1|^2|^3",
|
"psr/log": "^1|^2|^3",
|
||||||
"symfony/config": "^5.4|^6.0|^7.0",
|
"symfony/config": "^6.4|^7.0",
|
||||||
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
|
"symfony/dependency-injection": "^6.4|^7.0",
|
||||||
"symfony/error-handler": "^5.4|^6.0|^7.0",
|
"symfony/error-handler": "^6.4|^7.0",
|
||||||
"symfony/expression-language": "^5.4|^6.0|^7.0",
|
"symfony/expression-language": "^6.4|^7.0",
|
||||||
"symfony/http-foundation": "^5.4|^6.0|^7.0",
|
"symfony/http-foundation": "^6.4|^7.0",
|
||||||
"symfony/service-contracts": "^2.5|^3",
|
"symfony/service-contracts": "^2.5|^3",
|
||||||
"symfony/stopwatch": "^5.4|^6.0|^7.0"
|
"symfony/stopwatch": "^6.4|^7.0"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -3865,7 +3864,7 @@
|
||||||
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
|
"description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/event-dispatcher/tree/v6.4.13"
|
"source": "https://github.com/symfony/event-dispatcher/tree/v7.3.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -3881,7 +3880,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2024-09-25T14:18:03+00:00"
|
"time": "2025-04-22T09:11:45+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/event-dispatcher-contracts",
|
"name": "symfony/event-dispatcher-contracts",
|
||||||
|
@ -3961,25 +3960,25 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/filesystem",
|
"name": "symfony/filesystem",
|
||||||
"version": "v6.4.13",
|
"version": "v7.3.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/filesystem.git",
|
"url": "https://github.com/symfony/filesystem.git",
|
||||||
"reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3"
|
"reference": "b8dce482de9d7c9fe2891155035a7248ab5c7fdb"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/filesystem/zipball/4856c9cf585d5a0313d8d35afd681a526f038dd3",
|
"url": "https://api.github.com/repos/symfony/filesystem/zipball/b8dce482de9d7c9fe2891155035a7248ab5c7fdb",
|
||||||
"reference": "4856c9cf585d5a0313d8d35afd681a526f038dd3",
|
"reference": "b8dce482de9d7c9fe2891155035a7248ab5c7fdb",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.1",
|
"php": ">=8.2",
|
||||||
"symfony/polyfill-ctype": "~1.8",
|
"symfony/polyfill-ctype": "~1.8",
|
||||||
"symfony/polyfill-mbstring": "~1.8"
|
"symfony/polyfill-mbstring": "~1.8"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/process": "^5.4|^6.4|^7.0"
|
"symfony/process": "^6.4|^7.0"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -4007,7 +4006,7 @@
|
||||||
"description": "Provides basic utilities for the filesystem",
|
"description": "Provides basic utilities for the filesystem",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/filesystem/tree/v6.4.13"
|
"source": "https://github.com/symfony/filesystem/tree/v7.3.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -4023,27 +4022,27 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2024-10-25T15:07:50+00:00"
|
"time": "2024-10-25T15:15:23+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/finder",
|
"name": "symfony/finder",
|
||||||
"version": "v6.4.17",
|
"version": "v7.3.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/finder.git",
|
"url": "https://github.com/symfony/finder.git",
|
||||||
"reference": "1d0e8266248c5d9ab6a87e3789e6dc482af3c9c7"
|
"reference": "ec2344cf77a48253bbca6939aa3d2477773ea63d"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/finder/zipball/1d0e8266248c5d9ab6a87e3789e6dc482af3c9c7",
|
"url": "https://api.github.com/repos/symfony/finder/zipball/ec2344cf77a48253bbca6939aa3d2477773ea63d",
|
||||||
"reference": "1d0e8266248c5d9ab6a87e3789e6dc482af3c9c7",
|
"reference": "ec2344cf77a48253bbca6939aa3d2477773ea63d",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.1"
|
"php": ">=8.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/filesystem": "^6.0|^7.0"
|
"symfony/filesystem": "^6.4|^7.0"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -4071,7 +4070,7 @@
|
||||||
"description": "Finds files and directories via an intuitive fluent interface",
|
"description": "Finds files and directories via an intuitive fluent interface",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/finder/tree/v6.4.17"
|
"source": "https://github.com/symfony/finder/tree/v7.3.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -4087,43 +4086,43 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2024-12-29T13:51:37+00:00"
|
"time": "2024-12-30T19:00:26+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/mailer",
|
"name": "symfony/mailer",
|
||||||
"version": "v6.4.21",
|
"version": "v7.3.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/mailer.git",
|
"url": "https://github.com/symfony/mailer.git",
|
||||||
"reference": "ada2809ccd4ec27aba9fc344e3efdaec624c6438"
|
"reference": "0f375bbbde96ae8c78e4aa3e63aabd486e33364c"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/mailer/zipball/ada2809ccd4ec27aba9fc344e3efdaec624c6438",
|
"url": "https://api.github.com/repos/symfony/mailer/zipball/0f375bbbde96ae8c78e4aa3e63aabd486e33364c",
|
||||||
"reference": "ada2809ccd4ec27aba9fc344e3efdaec624c6438",
|
"reference": "0f375bbbde96ae8c78e4aa3e63aabd486e33364c",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"egulias/email-validator": "^2.1.10|^3|^4",
|
"egulias/email-validator": "^2.1.10|^3|^4",
|
||||||
"php": ">=8.1",
|
"php": ">=8.2",
|
||||||
"psr/event-dispatcher": "^1",
|
"psr/event-dispatcher": "^1",
|
||||||
"psr/log": "^1|^2|^3",
|
"psr/log": "^1|^2|^3",
|
||||||
"symfony/event-dispatcher": "^5.4|^6.0|^7.0",
|
"symfony/event-dispatcher": "^6.4|^7.0",
|
||||||
"symfony/mime": "^6.2|^7.0",
|
"symfony/mime": "^7.2",
|
||||||
"symfony/service-contracts": "^2.5|^3"
|
"symfony/service-contracts": "^2.5|^3"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"symfony/http-client-contracts": "<2.5",
|
"symfony/http-client-contracts": "<2.5",
|
||||||
"symfony/http-kernel": "<5.4",
|
"symfony/http-kernel": "<6.4",
|
||||||
"symfony/messenger": "<6.2",
|
"symfony/messenger": "<6.4",
|
||||||
"symfony/mime": "<6.2",
|
"symfony/mime": "<6.4",
|
||||||
"symfony/twig-bridge": "<6.2.1"
|
"symfony/twig-bridge": "<6.4"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/console": "^5.4|^6.0|^7.0",
|
"symfony/console": "^6.4|^7.0",
|
||||||
"symfony/http-client": "^5.4|^6.0|^7.0",
|
"symfony/http-client": "^6.4|^7.0",
|
||||||
"symfony/messenger": "^6.2|^7.0",
|
"symfony/messenger": "^6.4|^7.0",
|
||||||
"symfony/twig-bridge": "^6.2|^7.0"
|
"symfony/twig-bridge": "^6.4|^7.0"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -4151,7 +4150,7 @@
|
||||||
"description": "Helps sending emails",
|
"description": "Helps sending emails",
|
||||||
"homepage": "https://symfony.com",
|
"homepage": "https://symfony.com",
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/mailer/tree/v6.4.21"
|
"source": "https://github.com/symfony/mailer/tree/v7.3.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -4167,25 +4166,24 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-04-26T23:47:35+00:00"
|
"time": "2025-04-04T09:51:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/mime",
|
"name": "symfony/mime",
|
||||||
"version": "v6.4.21",
|
"version": "v7.3.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/mime.git",
|
"url": "https://github.com/symfony/mime.git",
|
||||||
"reference": "fec8aa5231f3904754955fad33c2db50594d22d1"
|
"reference": "0e7b19b2f399c31df0cdbe5d8cbf53f02f6cfcd9"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/mime/zipball/fec8aa5231f3904754955fad33c2db50594d22d1",
|
"url": "https://api.github.com/repos/symfony/mime/zipball/0e7b19b2f399c31df0cdbe5d8cbf53f02f6cfcd9",
|
||||||
"reference": "fec8aa5231f3904754955fad33c2db50594d22d1",
|
"reference": "0e7b19b2f399c31df0cdbe5d8cbf53f02f6cfcd9",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.1",
|
"php": ">=8.2",
|
||||||
"symfony/deprecation-contracts": "^2.5|^3",
|
|
||||||
"symfony/polyfill-intl-idn": "^1.10",
|
"symfony/polyfill-intl-idn": "^1.10",
|
||||||
"symfony/polyfill-mbstring": "^1.0"
|
"symfony/polyfill-mbstring": "^1.0"
|
||||||
},
|
},
|
||||||
|
@ -4193,17 +4191,17 @@
|
||||||
"egulias/email-validator": "~3.0.0",
|
"egulias/email-validator": "~3.0.0",
|
||||||
"phpdocumentor/reflection-docblock": "<3.2.2",
|
"phpdocumentor/reflection-docblock": "<3.2.2",
|
||||||
"phpdocumentor/type-resolver": "<1.4.0",
|
"phpdocumentor/type-resolver": "<1.4.0",
|
||||||
"symfony/mailer": "<5.4",
|
"symfony/mailer": "<6.4",
|
||||||
"symfony/serializer": "<6.4.3|>7.0,<7.0.3"
|
"symfony/serializer": "<6.4.3|>7.0,<7.0.3"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"egulias/email-validator": "^2.1.10|^3.1|^4",
|
"egulias/email-validator": "^2.1.10|^3.1|^4",
|
||||||
"league/html-to-markdown": "^5.0",
|
"league/html-to-markdown": "^5.0",
|
||||||
"phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",
|
"phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",
|
||||||
"symfony/dependency-injection": "^5.4|^6.0|^7.0",
|
"symfony/dependency-injection": "^6.4|^7.0",
|
||||||
"symfony/process": "^5.4|^6.4|^7.0",
|
"symfony/process": "^6.4|^7.0",
|
||||||
"symfony/property-access": "^5.4|^6.0|^7.0",
|
"symfony/property-access": "^6.4|^7.0",
|
||||||
"symfony/property-info": "^5.4|^6.0|^7.0",
|
"symfony/property-info": "^6.4|^7.0",
|
||||||
"symfony/serializer": "^6.4.3|^7.0.3"
|
"symfony/serializer": "^6.4.3|^7.0.3"
|
||||||
},
|
},
|
||||||
"type": "library",
|
"type": "library",
|
||||||
|
@ -4236,7 +4234,7 @@
|
||||||
"mime-type"
|
"mime-type"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/mime/tree/v6.4.21"
|
"source": "https://github.com/symfony/mime/tree/v7.3.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -4252,7 +4250,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-04-27T13:27:38+00:00"
|
"time": "2025-02-19T08:51:26+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/polyfill",
|
"name": "symfony/polyfill",
|
||||||
|
@ -7534,34 +7532,33 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/var-dumper",
|
"name": "symfony/var-dumper",
|
||||||
"version": "v6.4.21",
|
"version": "v7.3.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/var-dumper.git",
|
"url": "https://github.com/symfony/var-dumper.git",
|
||||||
"reference": "22560f80c0c5cd58cc0bcaf73455ffd81eb380d5"
|
"reference": "548f6760c54197b1084e1e5c71f6d9d523f2f78e"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/22560f80c0c5cd58cc0bcaf73455ffd81eb380d5",
|
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/548f6760c54197b1084e1e5c71f6d9d523f2f78e",
|
||||||
"reference": "22560f80c0c5cd58cc0bcaf73455ffd81eb380d5",
|
"reference": "548f6760c54197b1084e1e5c71f6d9d523f2f78e",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=8.1",
|
"php": ">=8.2",
|
||||||
"symfony/deprecation-contracts": "^2.5|^3",
|
"symfony/deprecation-contracts": "^2.5|^3",
|
||||||
"symfony/polyfill-mbstring": "~1.0"
|
"symfony/polyfill-mbstring": "~1.0"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"symfony/console": "<5.4"
|
"symfony/console": "<6.4"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"ext-iconv": "*",
|
"ext-iconv": "*",
|
||||||
"symfony/console": "^5.4|^6.0|^7.0",
|
"symfony/console": "^6.4|^7.0",
|
||||||
"symfony/error-handler": "^6.3|^7.0",
|
"symfony/http-kernel": "^6.4|^7.0",
|
||||||
"symfony/http-kernel": "^5.4|^6.0|^7.0",
|
"symfony/process": "^6.4|^7.0",
|
||||||
"symfony/process": "^5.4|^6.0|^7.0",
|
"symfony/uid": "^6.4|^7.0",
|
||||||
"symfony/uid": "^5.4|^6.0|^7.0",
|
"twig/twig": "^3.12"
|
||||||
"twig/twig": "^2.13|^3.0.4"
|
|
||||||
},
|
},
|
||||||
"bin": [
|
"bin": [
|
||||||
"Resources/bin/var-dump-server"
|
"Resources/bin/var-dump-server"
|
||||||
|
@ -7599,7 +7596,7 @@
|
||||||
"dump"
|
"dump"
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/symfony/var-dumper/tree/v6.4.21"
|
"source": "https://github.com/symfony/var-dumper/tree/v7.3.0"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -7615,7 +7612,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2025-04-09T07:34:50+00:00"
|
"time": "2025-04-27T18:39:23+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ta-tikoma/phpunit-architecture-test",
|
"name": "ta-tikoma/phpunit-architecture-test",
|
||||||
|
@ -7786,15 +7783,14 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"aliases": [],
|
"aliases": [],
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "stable",
|
||||||
"stability-flags": {
|
"stability-flags": {
|
||||||
"arokettu/monsterid": 20,
|
|
||||||
"gemorroj/m3u-parser": 20
|
"gemorroj/m3u-parser": 20
|
||||||
},
|
},
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": ">=8.1"
|
"php": ">=8.2"
|
||||||
},
|
},
|
||||||
"platform-dev": {},
|
"platform-dev": {},
|
||||||
"plugin-api-version": "2.6.0"
|
"plugin-api-version": "2.6.0"
|
||||||
|
|
23
install.php
23
install.php
|
@ -25,7 +25,7 @@ require INC_DIR . '/functions_cli.php';
|
||||||
* System requirements
|
* System requirements
|
||||||
*/
|
*/
|
||||||
const CHECK_REQUIREMENTS = [
|
const CHECK_REQUIREMENTS = [
|
||||||
'php_min_version' => '8.1.0',
|
'php_min_version' => '8.2.0',
|
||||||
'ext_list' => [
|
'ext_list' => [
|
||||||
'json',
|
'json',
|
||||||
'curl',
|
'curl',
|
||||||
|
@ -146,26 +146,7 @@ if (!is_file(BB_ROOT . 'vendor/autoload.php')) {
|
||||||
if (is_file(BB_ROOT . 'composer.phar')) {
|
if (is_file(BB_ROOT . 'composer.phar')) {
|
||||||
out('- Installing dependencies...', 'info');
|
out('- Installing dependencies...', 'info');
|
||||||
|
|
||||||
// Ask if user is a developer before installing dependencies
|
runProcess('php ' . BB_ROOT . 'composer.phar install --no-interaction --no-ansi');
|
||||||
$isDeveloper = false;
|
|
||||||
echo "\nAre you a developer who needs testing tools and dev dependencies? [y/N]: ";
|
|
||||||
if (str_starts_with(mb_strtolower(trim(readline())), 'y')) {
|
|
||||||
$isDeveloper = true;
|
|
||||||
if (!version_compare(PHP_VERSION, '8.2.0', '>=')) {
|
|
||||||
out("- Warning: Development dependencies require PHP 8.2+, your version is " . PHP_VERSION, 'warning');
|
|
||||||
out("- Some testing tools may not work properly", 'warning');
|
|
||||||
}
|
|
||||||
out("- Installing all dependencies including dev tools...\n", 'info');
|
|
||||||
} else {
|
|
||||||
out("- Installing production dependencies only...\n", 'info');
|
|
||||||
}
|
|
||||||
|
|
||||||
$composerFlags = '--no-interaction --no-ansi';
|
|
||||||
if (!$isDeveloper) {
|
|
||||||
$composerFlags .= ' --no-dev';
|
|
||||||
}
|
|
||||||
|
|
||||||
runProcess('php ' . BB_ROOT . 'composer.phar install ' . $composerFlags);
|
|
||||||
define('COMPOSER_COMPLETED', true);
|
define('COMPOSER_COMPLETED', true);
|
||||||
} else {
|
} else {
|
||||||
out('- composer.phar not found. Please, download it (composer.phar) manually', 'error');
|
out('- composer.phar not found. Please, download it (composer.phar) manually', 'error');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue