From: Raphaƫl Gertz Date: Thu, 16 Oct 2025 15:12:53 +0000 (+0200) Subject: Update console and symfony recipes X-Git-Tag: 0.0.1~15 X-Git-Url: https://git.rapsys.eu/blog/commitdiff_plain/4e640f384a1673e28f38aa23420df322e5f39eec Update console and symfony recipes --- diff --git a/bin/console b/bin/console index c933dc5..d8d530e 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".'); } diff --git a/symfony.lock b/symfony.lock index a91ed53..b5fd284 100644 --- a/symfony.lock +++ b/symfony.lock @@ -71,12 +71,12 @@ "version": "dev-master" }, "symfony/console": { - "version": "6.2", + "version": "7.3", "recipe": { "repo": "github.com/symfony/recipes", "branch": "main", "version": "5.3", - "ref": "da0c8be8157600ad34f10ff0c9cc91232522e047" + "ref": "1781ff40d8a17d87cf53f8d4cf0c8346ed2bb461" }, "files": [ "bin/console"