Your project uses discouraged functions to kill scripts
- Read doc
- Reliability
- Major
More information: https://insight.symfony.com/what-we-analyse/php.use_exit_function
- $name = \basename(__FILE__, '.php');
- // @phpstan-ignore smaller.alwaysFalse
- if (\PHP_VERSION_ID < 80200) {
- echo "Error: $name requires PHP 8.2 or newer.";
- exit(1);
- }
- if (\is_file(__DIR__ . '/../vendor/autoload.php')) {
- require __DIR__ . '/../vendor/autoload.php';
- }