From 612f33d8c9c877f6cc99b0973ba3a4e1fdee073d Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 18:53:50 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index ea041ad..961b361 100644 --- a/composer.json +++ b/composer.json @@ -21,13 +21,13 @@ "php": "^8.0", "ext-json": "*", "firebase/php-jwt": "^6.4", - "laravel/framework": "^9.0|^10.0", + "laravel/framework": "^9.0|^10.0|^11.0", "spatie/geocoder": "^3.1", "ext-openssl": "*" }, "require-dev": { - "orchestra/testbench": "^7.0", - "phpunit/phpunit": "^9.0" + "orchestra/testbench": "^7.0|^9.0", + "phpunit/phpunit": "^9.0|^10.5" }, "autoload": { "psr-4": { From 2988138bdc11c07e1ab13b647d1234f2c42e94bd Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 18:53:51 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/laravel.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/laravel.yml b/.github/workflows/laravel.yml index 1abf2e6..c6fa593 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/laravel.yml @@ -1,16 +1,17 @@ name: tests -on: [push, pull_request] +on: + - push + - pull_request jobs: laravel-tests: - runs-on: ubuntu-latest strategy: fail-fast: true matrix: - php: [8.0] + php: [8.0, '8.2'] stability: [prefer-lowest, prefer-stable] name: PHP ${{ matrix.php }} - ${{ matrix.stability }}