Skip to content

Commit

Permalink
Merge pull request #3 from red-explosion/laravel-11-support
Browse files Browse the repository at this point in the history
Laravel 11.x Compatibility
  • Loading branch information
bensherred authored Feb 28, 2024
2 parents 7af453f + acddbd5 commit adf221b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: true
matrix:
php: [ 8.2, 8.3 ]
laravel: [ 10.* ]
laravel: [ 10, 11 ]

name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }}

Expand All @@ -43,7 +43,7 @@ jobs:

- name: Install dependencies
run: |
composer require "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-progress --no-update
composer require "illuminate/contracts:^${{ matrix.laravel }}" --no-interaction --no-progress --no-update
composer update --prefer-dist --no-interaction --no-progress
- name: Execute the tests
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
"require": {
"php": "^8.2",
"ext-mbstring": "*",
"illuminate/contracts": "^10.0",
"illuminate/support": "^10.0",
"illuminate/contracts": "^10.0|^11.0",
"illuminate/support": "^10.0|^11.0",
"sqids/sqids": "^0.4.1"
},
"require-dev": {
"laravel/pint": "^1.10",
"orchestra/testbench": "^8.0",
"orchestra/testbench": "^8.0|^9.0",
"pestphp/pest": "^2.6",
"pestphp/pest-plugin-arch": "^2.1",
"phpstan/phpstan": "^1.10",
Expand Down

0 comments on commit adf221b

Please sign in to comment.