disable composer platform check
This commit is contained in:
parent
26c67dba77
commit
ed2cbeffcc
|
@ -1,4 +1,7 @@
|
|||
{
|
||||
"config": {
|
||||
"platform-check": false
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
"name": "j4mie/idiorm",
|
||||
|
|
|
@ -30,7 +30,7 @@ class InstalledVersions
|
|||
'aliases' =>
|
||||
array (
|
||||
),
|
||||
'reference' => 'd5c043e8467881c00b2cd836f2f37b8479cf0b96',
|
||||
'reference' => '26c67dba776e1e6f8ac40eed70fe79995325863d',
|
||||
'name' => '__root__',
|
||||
),
|
||||
'versions' =>
|
||||
|
@ -42,7 +42,7 @@ class InstalledVersions
|
|||
'aliases' =>
|
||||
array (
|
||||
),
|
||||
'reference' => 'd5c043e8467881c00b2cd836f2f37b8479cf0b96',
|
||||
'reference' => '26c67dba776e1e6f8ac40eed70fe79995325863d',
|
||||
),
|
||||
'beberlei/assert' =>
|
||||
array (
|
||||
|
|
|
@ -22,8 +22,6 @@ class ComposerAutoloaderInit19fc2ff1c0f9a92279c7979386bb2056
|
|||
return self::$loader;
|
||||
}
|
||||
|
||||
require __DIR__ . '/platform_check.php';
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit19fc2ff1c0f9a92279c7979386bb2056', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit19fc2ff1c0f9a92279c7979386bb2056', 'loadClassLoader'));
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
'aliases' =>
|
||||
array (
|
||||
),
|
||||
'reference' => 'd5c043e8467881c00b2cd836f2f37b8479cf0b96',
|
||||
'reference' => '26c67dba776e1e6f8ac40eed70fe79995325863d',
|
||||
'name' => '__root__',
|
||||
),
|
||||
'versions' =>
|
||||
|
@ -18,7 +18,7 @@
|
|||
'aliases' =>
|
||||
array (
|
||||
),
|
||||
'reference' => 'd5c043e8467881c00b2cd836f2f37b8479cf0b96',
|
||||
'reference' => '26c67dba776e1e6f8ac40eed70fe79995325863d',
|
||||
),
|
||||
'beberlei/assert' =>
|
||||
array (
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
<?php
|
||||
|
||||
// platform_check.php @generated by Composer
|
||||
|
||||
$issues = array();
|
||||
|
||||
if (!(PHP_VERSION_ID >= 80000)) {
|
||||
$issues[] = 'Your Composer dependencies require a PHP version ">= 8.0.0". You are running ' . PHP_VERSION . '.';
|
||||
}
|
||||
|
||||
if ($issues) {
|
||||
if (!headers_sent()) {
|
||||
header('HTTP/1.1 500 Internal Server Error');
|
||||
}
|
||||
if (!ini_get('display_errors')) {
|
||||
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
|
||||
fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
|
||||
} elseif (!headers_sent()) {
|
||||
echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
|
||||
}
|
||||
}
|
||||
trigger_error(
|
||||
'Composer detected issues in your platform: ' . implode(' ', $issues),
|
||||
E_USER_ERROR
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue