Rapsys Git
/
airlibre
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d93f62
)
Update symfony console
author
Raphaël Gertz
<git@rapsys.eu>
Mon, 1 Apr 2024 22:57:25 +0000
(
00:57
+0200)
committer
Raphaël Gertz
<git@rapsys.eu>
Mon, 1 Apr 2024 22:57:25 +0000
(
00:57
+0200)
bin/console
patch
|
blob
|
history
diff --git
a/bin/console
b/bin/console
index 4fbdaa5dd0d02712c5b8e114b9d0d03c5d9b42d9..24bff229c1b812b01d849b28600fdbb6eaaa0d84 100755
(executable)
--- 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".');
}