PluginProbe
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript / 4.1.13
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript v4.1.13
4.1.20 4.1.19 4.1.18 4.1.17 4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.0.30 4.0.29 4.0.28 4.0.27 4.0.26 4.0.24 4.0.25 4.0.23 4.0.22 4.0.21 4.0.19 4.0.18 4.0.17 4.0.16 All 174 releases
searchpro / BerqWP / vendor-prefixed / vendor / composer / platform_check.php

platform_check.php in BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript 4.1.13, at BerqWP/vendor-prefixed/vendor/composer/platform_check.php

23 lines 961 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace BerqWP_Deps;
4
5 // platform_check.php @generated by Composer
6 $issues = array();
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 if ($issues) {
11 if (!\headers_sent()) {
12 \header('HTTP/1.1 500 Internal Server Error');
13 }
14 if (!\ini_get('display_errors')) {
15 if (\PHP_SAPI === 'cli' || \PHP_SAPI === 'phpdbg') {
16 \fwrite(\STDERR, 'Composer detected issues in your platform:' . \PHP_EOL . \PHP_EOL . \implode(\PHP_EOL, $issues) . \PHP_EOL . \PHP_EOL);
17 } elseif (!\headers_sent()) {
18 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;
19 }
20 }
21 throw new \RuntimeException('Composer detected issues in your platform: ' . \implode(' ', $issues));
22 }
23