From: Raphaƫl Gertz Date: Mon, 1 Apr 2024 22:57:25 +0000 (+0200) Subject: Update symfony console X-Git-Url: https://git.rapsys.eu/airlibre/commitdiff_plain/80b75563dfd3002cb5c30a6e5e558f06f19a4c38?ds=inline;hp=0d93f62096f34cd54bc1e702e67103e921060b2c Update symfony console --- diff --git a/bin/console b/bin/console index 4fbdaa5..24bff22 100755 --- a/bin/console +++ b/bin/console @@ -4,6 +4,10 @@ use App\Kernel; use Symfony\Bundle\FrameworkBundle\Console\Application; +if (!is_dir(dirname(__DIR__).'/vendor')) { + throw new LogicException('Dependencies are missing. Try running "composer install".'); +} + if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) { throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".'); }