PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3-beta
Jetpack – WP Security, Backup, Speed, & Growth v16.3-beta
16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 All 507 releases
← All changes | vendor/composer/platform_check.php +25 -0 16.2-beta → 16.3-beta View file →
@@ -1,0 +1,25 @@
1 +<?php
2 +
3 +// platform_check.php @generated by Composer
4 +
5 +$issues = array();
6 +
7 +if (!(PHP_VERSION_ID >= 70400)) {
8 + $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
9 +}
10 +
11 +if ($issues) {
12 + if (!headers_sent()) {
13 + header('HTTP/1.1 500 Internal Server Error');
14 + }
15 + if (!ini_get('display_errors')) {
16 + if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
17 + fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
18 + } elseif (!headers_sent()) {
19 + 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;
20 + }
21 + }
22 + throw new \RuntimeException(
23 + 'Composer detected issues in your platform: ' . implode(' ', $issues)
24 + );
25 +}