PluginProbe
PayPlug for WooCommerce (Official) / 3.1.0
PayPlug for WooCommerce (Official) v3.1.0
3.1.0 3.0.0 2.18.0 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 1.0.22 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.1.0 1.10.0 1.10.1 1.2.1 1.2.10 1.2.11 1.2.2 1.2.3 1.2.4 1.2.5 All 102 releases
← All changes | vendor/composer/platform_check.php +4 -5 1.10.0 → 3.1.0 View file →
@@ -3,10 +3,10 @@
3 3 // platform_check.php @generated by Composer
4 4
5 5 $issues = array();
6 6
7 -if (!(PHP_VERSION_ID >= 50600)) {
8 - $issues[] = 'Your Composer dependencies require a PHP version ">= 5.6.0". You are running ' . PHP_VERSION . '.';
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 11 if ($issues) {
12 12 if (!headers_sent()) {
@@ -18,9 +18,8 @@
18 18 } elseif (!headers_sent()) {
19 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 20 }
21 21 }
22 - trigger_error(
23 - 'Composer detected issues in your platform: ' . implode(' ', $issues),
24 - E_USER_ERROR
22 + throw new \RuntimeException(
23 + 'Composer detected issues in your platform: ' . implode(' ', $issues)
25 24 );
26 25 }