Current File : /var/www/vinorea/modules/psxdesign/vendor/prestashop/php-dev-tools/bin/prestashop-coding-standards |
#!/usr/bin/env php
<?php
declare(strict_types=1);
// OK, it's not, let give Composer autoloader a try!
$autoloadFile = __DIR__.'/../../../autoload.php';
if (file_exists($autoloadFile)) {
require_once $autoloadFile;
} else {
require_once __DIR__.'/../vendor/autoload.php';
}
use Symfony\Component\Console\Application;
use PrestaShop\CodingStandards\Command\CsFixerInitCommand;
use PrestaShop\CodingStandards\Command\PhpStanInitCommand;
$app = new Application();
$app->add(new CsFixerInitCommand());
$app->add(new PhpStanInitCommand());
$app->run();