From 64ff6b8253aa55a934145c2d61db2bc94b4be152 Mon Sep 17 00:00:00 2001 From: Yury Pikhtarev Date: Sat, 21 Jun 2025 11:00:31 +0400 Subject: [PATCH] chore: Update PHP version references to 8.2 in documentation and templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- CLAUDE.md | 2 +- README.md | 9 +-------- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 799818d98..3d6895394 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -21,7 +21,7 @@ body: attributes: label: PHP & Platform description: Exact PHP and Platform (OS) versions your using. - placeholder: 8.1.2 - Ubuntu 22.04 x64 + placeholder: 8.2.2 - Ubuntu 22.04 x64 validations: required: true - type: checkboxes diff --git a/CLAUDE.md b/CLAUDE.md index 42bf73fcb..68bd96ae8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -8,7 +8,7 @@ TorrentPier is a BitTorrent tracker engine written in PHP, designed for hosting ## Technology Stack & Architecture -- **PHP 8.1+** with modern features +- **PHP 8.2+** with modern features - **MySQL/MariaDB/Percona** database - **Nette Database** with backward-compatible wrapper - **Composer** for dependency management diff --git a/README.md b/README.md index b69ba60ab..96b27a825 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ For the installation, select one of the installation variants below: Check out our [autoinstall](https://github.com/torrentpier/autoinstall) repository with detailed instructions. -> [!IMPORTANT] +> [!NOTE] > Thanks to [Sergei Solovev](https://github.com/SeAnSolovev) for this installation script ❤️ ### Quick (For web-panels) ☕️ @@ -98,10 +98,6 @@ Check out our [autoinstall](https://github.com/torrentpier/autoinstall) reposito 3. [Check our system requirements](#-requirements) 4. After, run this command in the project directory to install Composer dependencies ```shell - # For production (PHP 8.1+) - composer install --no-dev - - # For development (PHP 8.2+ required) composer install ``` 5. Edit database configuration settings in the environment (`.env.example`), after, rename to `.env` @@ -136,9 +132,6 @@ If you discover a security vulnerability within TorrentPier, please follow our [ TorrentPier includes a comprehensive testing suite built with **Pest PHP**. Run tests to ensure code quality and system reliability: -> [!NOTE] -> Testing requires **PHP 8.2+** and development dependencies. Install with `composer install` (without `--no-dev` flag). - ```shell # Run all tests ./vendor/bin/pest