From ed3122314fd018c41b7b8669a5caaca1a77ac8d7 Mon Sep 17 00:00:00 2001 From: Stanislas Kita Date: Tue, 3 Feb 2026 14:02:45 +0100 Subject: [PATCH] Fix(Core): add missing check_prerequisites() --- setup.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/setup.php b/setup.php index 91c9a2a..a09e3c8 100644 --- a/setup.php +++ b/setup.php @@ -199,3 +199,14 @@ function plugin_version_escalade() ], ]; } + + +function plugin_escalade_check_prerequisites() +{ + if (!is_readable(__DIR__ . '/vendor/autoload.php') || !is_file(__DIR__ . '/vendor/autoload.php')) { + echo "Run composer install --no-dev in the plugin directory
"; + return false; + } + + return true; +}