
| Current Path : /var/www/html/vendor/enlightn/security-checker/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/vendor/enlightn/security-checker/security-checker |
#!/usr/bin/env php
<?php
function includeIfExists($file)
{
if (file_exists($file)) {
return include $file;
}
}
if ((!$loader = includeIfExists(__DIR__.'/vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__.'/../../autoload.php'))) {
die('You must have Composer installed and must run the composer install CLI command.'.PHP_EOL.
'Download Composer from the website: https://getcomposer.org/download/'.PHP_EOL.
'Then, run the "composer install" command.'.PHP_EOL);
}
use Enlightn\SecurityChecker\SecurityCheckerCommand;
use Symfony\Component\Console\Application;
$console = new Application('Enlightn Security Checker');
$console->add(new SecurityCheckerCommand);
$console->run();