You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
662 B
PHP
21 lines
662 B
PHP
<?php
|
|
|
|
// platform_check.php @generated by Composer
|
|
|
|
$issues = array();
|
|
|
|
if (!(PHP_VERSION_ID >= 70200 && PHP_VERSION_ID < 99999)) {
|
|
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.0" and "< 99999". You are running ' . PHP_VERSION . '.';
|
|
}
|
|
|
|
$missingExtensions = array_diff(array (
|
|
), array_map('strtolower', get_loaded_extensions()));
|
|
|
|
if (0 !== count($missingExtensions)) {
|
|
$issues[] = 'Your Composer dependencies require the following PHP extensions to be installed: ' . implode(', ', $missingExtensions);
|
|
}
|
|
|
|
if (0 !== count($issues)) {
|
|
die('Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues));
|
|
}
|