From a56e8531184b819e3e9bee577e5dbea52f92cda0 Mon Sep 17 00:00:00 2001 From: kenjis Date: Sat, 27 Jul 2024 08:31:35 +0000 Subject: [PATCH] Release v4.5.4 --- .github/workflows/phpunit.yml | 2 +- app/Config/Events.php | 4 ++-- composer.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index f43435df..2be22ec1 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '[ci skip]')" + if: (! contains(github.event.head_commit.message, '[ci skip]')) steps: - name: Checkout diff --git a/app/Config/Events.php b/app/Config/Events.php index 993abd24..62a7b86d 100644 --- a/app/Config/Events.php +++ b/app/Config/Events.php @@ -23,7 +23,7 @@ * Events::on('create', [$myInstance, 'myMethod']); */ -Events::on('pre_system', static function () { +Events::on('pre_system', static function (): void { if (ENVIRONMENT !== 'testing') { if (ini_get('zlib.output_compression')) { throw FrameworkException::forEnabledZlibOutputCompression(); @@ -47,7 +47,7 @@ Services::toolbar()->respond(); // Hot Reload route - for framework use on the hot reloader. if (ENVIRONMENT === 'development') { - Services::routes()->get('__hot-reload', static function () { + Services::routes()->get('__hot-reload', static function (): void { (new HotReloader())->run(); }); } diff --git a/composer.json b/composer.json index b84684d8..38a51e29 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "autoload": { "psr-4": { "App\\": "app/", - "Config\\": "app/Config" + "Config\\": "app/Config/" }, "exclude-from-classmap": [ "**/Database/Migrations/**"