PluginProbe
WindPress – Tailwind CSS integration for WordPress / 3.2.90
WindPress – Tailwind CSS integration for WordPress v3.2.90
3.2.90 3.2.89 3.2.88 3.2.87 3.2.86 3.2.85 3.2.84 3.2.83 3.2.82 3.2.81 trunk 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.0.2 3.0.3 3.0.4 3.0.5 All 144 releases
← All changes | vendor/composer/platform_check.php +15 -12 3.0.53.2.90 View file →
@@ -1,22 +1,25 @@
1 1 <?php
2 2
3 -namespace WindPressPackages;
3 +// platform_check.php @generated by Composer
4 4
5 -// platform_check.php @generated by Composer
6 5 $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 . '.';
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 9 }
10 +
10 11 if ($issues) {
11 - if (!\headers_sent()) {
12 - \header('HTTP/1.1 500 Internal Server Error');
12 + if (!headers_sent()) {
13 + header('HTTP/1.1 500 Internal Server Error');
13 14 }
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;
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;
19 20 }
20 21 }
21 - \trigger_error('Composer detected issues in your platform: ' . \implode(' ', $issues), \E_USER_ERROR);
22 + throw new \RuntimeException(
23 + 'Composer detected issues in your platform: ' . implode(' ', $issues)
24 + );
22 25 }