Edit File by line
/home/zeestwma/ajeebong.../wp-conte.../plugins/code-sni.../vendor/composer
File: platform_check.php
<?php
[0] Fix | Delete
[1] Fix | Delete
// platform_check.php @generated by Composer
[2] Fix | Delete
[3] Fix | Delete
$issues = array();
[4] Fix | Delete
[5] Fix | Delete
if (!(PHP_VERSION_ID >= 70400)) {
[6] Fix | Delete
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
[7] Fix | Delete
}
[8] Fix | Delete
[9] Fix | Delete
if ($issues) {
[10] Fix | Delete
if (!headers_sent()) {
[11] Fix | Delete
header('HTTP/1.1 500 Internal Server Error');
[12] Fix | Delete
}
[13] Fix | Delete
if (!ini_get('display_errors')) {
[14] Fix | Delete
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
[15] Fix | Delete
fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
[16] Fix | Delete
} elseif (!headers_sent()) {
[17] Fix | Delete
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;
[18] Fix | Delete
}
[19] Fix | Delete
}
[20] Fix | Delete
throw new \RuntimeException(
[21] Fix | Delete
'Composer detected issues in your platform: ' . implode(' ', $issues)
[22] Fix | Delete
);
[23] Fix | Delete
}
[24] Fix | Delete
[25] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function