From d8d4d83a64d1035b05030e2e97230524b1fa8177 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 10 Dec 2024 23:11:20 +0800 Subject: [PATCH] [5.x] Supports PHP 8.4 (#1548) * [5.x] Supports PHP 8.4 * wip Signed-off-by: Mior Muhammad Zaki * wip Signed-off-by: Mior Muhammad Zaki * wip Signed-off-by: Mior Muhammad Zaki * wip Signed-off-by: Mior Muhammad Zaki * wip Signed-off-by: Mior Muhammad Zaki * wip --------- Signed-off-by: Mior Muhammad Zaki --- .github/workflows/tests.yml | 6 +++--- .styleci.yml | 2 ++ composer.json | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d844ab0dd..29e0f5379 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: true matrix: - php: [8.2, 8.3] + php: [8.2, 8.3, 8.4] laravel: [11] name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} @@ -40,7 +40,7 @@ jobs: composer update --prefer-dist --no-interaction --no-progress - name: Execute tests - run: vendor/bin/phpunit + run: vendor/bin/phpunit --display-deprecations --fail-on-deprecation stub-tests: runs-on: ubuntu-22.04 @@ -49,7 +49,7 @@ jobs: fail-fast: true matrix: stack: [inertia, livewire] - laravel: [11] + laravel: ['11.x-dev'] name: Test Stubs - Laravel ${{ matrix.laravel }} - ${{ matrix.stack }} diff --git a/.styleci.yml b/.styleci.yml index 7e08ec6e9..be08587af 100644 --- a/.styleci.yml +++ b/.styleci.yml @@ -1,5 +1,7 @@ php: preset: laravel + enabled: + - nullable_type_declarations disabled: - no_unused_imports js: diff --git a/composer.json b/composer.json index a3f08672a..7e92328e2 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "illuminate/console": "^11.0", "illuminate/support": "^11.0", "laravel/fortify": "^1.20", - "mobiledetect/mobiledetectlib": "^4.8", + "mobiledetect/mobiledetectlib": "^4.8.08", "symfony/console": "^7.0" }, "require-dev": {