From ba69f88b5153310914367734b71425df29f4c5d4 Mon Sep 17 00:00:00 2001 From: Patrick Dawkins Date: Sun, 24 Nov 2024 20:39:31 +0000 Subject: [PATCH] Remove unnecessary platform check This is now a built-in feature in Composer 2 --- bin/platform | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bin/platform b/bin/platform index 3f03d26bd..6d85b7d96 100755 --- a/bin/platform +++ b/bin/platform @@ -19,11 +19,6 @@ ini_set('log_errors', '0'); // Disable early deprecation notices, e.g. those relating to Symfony Console. error_reporting(E_ALL & ~E_DEPRECATED); -if (version_compare(PHP_VERSION, '8.2', '<')) { - printf("This tool requires at least PHP 8.2. You currently have %s installed. Please upgrade your PHP version.\n", PHP_VERSION); - exit(1); -} - if (file_exists(__DIR__ . '/../vendor/autoload.php')) { require __DIR__ . '/../vendor/autoload.php'; } elseif (file_exists(__DIR__ . '/../../../autoload.php')) {