#!/usr/bin/env php
<?php

use Ergonode\ExporterShopware6\Tests\Functional\Fixtures\Kernel;
use Symfony\Bundle\FrameworkBundle\Console\Application;

if (false === in_array(\PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
    echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.\PHP_SAPI.' SAPI'.\PHP_EOL;
}

set_time_limit(0);

require dirname(__DIR__).'/../vendor/autoload.php';

$kernel = new Kernel('test', false);
$application = new Application($kernel);
$application->run();
