From 2fbbae46dec631c8cbf38acdedd4de55b72e2578 Mon Sep 17 00:00:00 2001 From: NaysKutzu Date: Thu, 5 Sep 2024 10:07:47 +0200 Subject: [PATCH] PUSH -< Fix cli -> FIx workflow? --- .github/workflows/lint.yml | 2 +- framework | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index be2a04e..e23981c 100755 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,4 +25,4 @@ jobs: run: composer install --no-interaction --no-progress --no-suggest --prefer-dist - name: PHP CS Fixer (APP) - run: vendor/bin/php-cs-fixer fix --config=./.github/.php-cs-fixer.dist.php \ No newline at end of file + run: storage/caches/vendor/bin/php-cs-fixer fix --config=./.github/.php-cs-fixer.dist.php \ No newline at end of file diff --git a/framework b/framework index 5075093..dbaf657 100755 --- a/framework +++ b/framework @@ -10,7 +10,8 @@ try { } use MythicalSystemsFramework\Cli\Kernel; - +$event = new \MythicalSystemsFramework\Plugins\PluginEvent(); +global $event; try { $args = array_slice($argv, 1); // Exclude the command name and the first argument Kernel::executeFrameworkCommand(isset($argv[1]) ? $argv[1] : '', $args);