From 80b75563dfd3002cb5c30a6e5e558f06f19a4c38 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Tue, 2 Apr 2024 00:57:25 +0200 Subject: [PATCH] Update symfony console --- bin/console | 4 ++++ 1 file changed, 4 insertions(+) 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".'); } -- 2.41.1