diff options
author | wn_ <[email protected]> | 2021-11-01 15:36:56 +0000 |
---|---|---|
committer | wn_ <[email protected]> | 2021-11-01 21:10:26 +0000 |
commit | 1584d008911dd911b219f1b72648881f66f238fd (patch) | |
tree | 9d05f26033103210b222c7e2d7d03c40a2358bd5 /vendor/composer/platform_check.php | |
parent | 9714c4fbcf76492d084ca5327cbab1ad1b662280 (diff) |
Bump PHPStan to 1.0.0
Diffstat (limited to 'vendor/composer/platform_check.php')
-rw-r--r-- | vendor/composer/platform_check.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/vendor/composer/platform_check.php b/vendor/composer/platform_check.php deleted file mode 100644 index 589e9e770..000000000 --- a/vendor/composer/platform_check.php +++ /dev/null @@ -1,26 +0,0 @@ -<?php - -// platform_check.php @generated by Composer - -$issues = array(); - -if (!(PHP_VERSION_ID >= 70200)) { - $issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.0". You are running ' . PHP_VERSION . '.'; -} - -if ($issues) { - if (!headers_sent()) { - header('HTTP/1.1 500 Internal Server Error'); - } - if (!ini_get('display_errors')) { - if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { - fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); - } elseif (!headers_sent()) { - 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; - } - } - trigger_error( - 'Composer detected issues in your platform: ' . implode(' ', $issues), - E_USER_ERROR - ); -} |