require correct version of symfony/console to be php7.4 compatible

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-04-10 10:15:29 +02:00
parent 0f4325f68d
commit f540ed4eb5
3 changed files with 191 additions and 107 deletions

View File

@@ -7,11 +7,12 @@ use Symfony\Component\Console\Application;
use Froxlor\Cli\ConfigServices;
use Froxlor\Cli\PhpSessionclean;
use Froxlor\Cli\SwitchServerIp;
use Froxlor\Froxlor;
require dirname(__DIR__) . '/vendor/autoload.php';
require dirname(__DIR__) . '/lib/tables.inc.php';
$application = new Application;
$application = new Application('froxlor-cli', Froxlor::getFullVersion());
$application->add(new ConfigServices());
$application->add(new PhpSessionclean());
$application->add(new SwitchServerIp());