Your project uses discouraged functions to kill scripts 2
- Read doc
- Reliability
- Major
More information: https://insight.symfony.com/what-we-analyse/php.use_exit_function
- }
- private function error(string $message): never
- {
- $this->message($message, 'Error');
- exit(1);
- }
- /**
- * @phpstan-param array<int, MapType> $map
- *
- $name = \basename(__FILE__, '.php');
- // @phpstan-ignore smaller.alwaysFalse
- if (\PHP_VERSION_ID < 80200) {
- echo "Error: $name requires PHP 8.2 or newer.";
- exit(1);
- }
- require __DIR__ . '/../vendor/autoload.php';
- if (\PHP_SAPI === 'cli') {