PluginProbe
Sharing Image / 2.0
Sharing Image v2.0
3.10 trunk 2.0 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.17 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 3.0 3.1 3.2 3.3 All 29 releases
sharing-image / vendor / composer / platform_check.php

platform_check.php in Sharing Image 2.0, at vendor/composer/platform_check.php

24 lines 754 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // platform_check.php @generated by Composer
4
5 $issues = array();
6
7 if (!(PHP_VERSION_ID >= 70100)) {
8 $issues[] = 'Your Composer dependencies require a PHP version ">= 7.1.0". You are running ' . PHP_VERSION . '.';
9 }
10
11 $missingExtensions = array();
12 extension_loaded('simplexml') || $missingExtensions[] = 'simplexml';
13 extension_loaded('tokenizer') || $missingExtensions[] = 'tokenizer';
14 extension_loaded('xmlwriter') || $missingExtensions[] = 'xmlwriter';
15
16 if ($missingExtensions) {
17 $issues[] = 'Your Composer dependencies require the following PHP extensions to be installed: ' . implode(', ', $missingExtensions);
18 }
19
20 if ($issues) {
21 echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues);
22 exit(104);
23 }
24