Skip to content

Commit

Permalink
Remove unnecessary platform check
Browse files Browse the repository at this point in the history
This is now a built-in feature in Composer 2
  • Loading branch information
pjcdawkins committed Dec 27, 2024
1 parent ddee137 commit c24a815
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bin/platform
Original file line number Diff line number Diff line change
Expand Up @@ -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')) {
Expand Down

0 comments on commit c24a815

Please sign in to comment.