From 91be9c952a63df29db59f23563eba191f8e468db Mon Sep 17 00:00:00 2001 From: MrKrasnov Date: Sat, 23 May 2026 17:51:47 +0300 Subject: [PATCH 1/3] build(deps): up PHP version to 8.2 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4239b7692..8efcc2bfb 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "analyse": "phpstan analyse --memory-limit 1G" }, "require": { - "php": "~7.3||~8.1", + "php": "~7.3||~8.2", "whichbrowser/parser": "dev-master", "james-heinrich/getid3": "^1.9@dev", "rybakit/msgpack": "dev-master", From 983fab6da57827cc2bb1e5f6aea3a85d4c790576 Mon Sep 17 00:00:00 2001 From: MrKrasnov Date: Sun, 24 May 2026 14:27:18 +0300 Subject: [PATCH 2/3] chore (bootstrap): changed text for error incompatible php version --- bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.php b/bootstrap.php index 4caaf0b51..1f3de39da 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -16,7 +16,7 @@ function _ovk_check_environment(): void } if (!version_compare(PHP_VERSION, "7.3.0", ">=")) { - $problems[] = "Incompatible PHP version: " . PHP_VERSION . " (7.3+ required, 7.4+ recommended)"; + $problems[] = "Incompatible PHP version: " . PHP_VERSION . " (7.3+ required, 8.2 recommended)"; } if (!is_dir(__DIR__ . "/vendor")) { From 1ce4aa6a19cf98f3773fb480555d00dac85509ba Mon Sep 17 00:00:00 2001 From: MrKrasnov Date: Mon, 25 May 2026 08:36:29 +0300 Subject: [PATCH 3/3] chore (bootstrap): changed required php version --- bootstrap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap.php b/bootstrap.php index 1f3de39da..ebe7d3937 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -15,8 +15,8 @@ function _ovk_check_environment(): void $problems[] = "OpenVK is updating"; } - if (!version_compare(PHP_VERSION, "7.3.0", ">=")) { - $problems[] = "Incompatible PHP version: " . PHP_VERSION . " (7.3+ required, 8.2 recommended)"; + if (!version_compare(PHP_VERSION, "8.2.0", ">=")) { + $problems[] = "Incompatible PHP version: " . PHP_VERSION . " (8.2 required)"; } if (!is_dir(__DIR__ . "/vendor")) {