Skip to content

Commit

Permalink
laravel 11 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Sairahcaz committed Mar 7, 2024
1 parent 2875e98 commit f5b00aa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,21 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.2, 8.1, 8.0, 7.4]
laravel: [10.*, 9.*, 8.*]
php: [8.3, 8.2, 8.1, 8.0, 7.4]
laravel: [11.*, 10.*, 9.*, 8.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
- laravel: 10.*
testbench: 8.*
carbon: ^2.63
- laravel: 9.*
testbench: 7.*
carbon: ^2.63
- laravel: 8.*
testbench: 6.27
carbon: ^2.63
exclude:
- laravel: 11.*
php: 8.1
- laravel: 10.*
php: 8.0
- laravel: 10.*
Expand Down Expand Up @@ -54,7 +55,7 @@ jobs:
- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.carbon }}" --no-interaction --no-update
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:>=2.62.1" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: List Installed Dependencies
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
],
"require": {
"php": "^7.4 || ^8.0",
"illuminate/database": "^8.0 || ^9.0 || ^10.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0",
"illuminate/testing": "^8.0 || ^9.0 || ^10.0",
"illuminate/contracts": "^8.0 || ^9.0 || ^10.0",
"illuminate/database": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"illuminate/testing": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"illuminate/contracts": "^8.0 || ^9.0 || ^10.0 || ^11.0",
"spatie/laravel-package-tools": "^1.12 || ^1.14"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.13",
"nunomaduro/larastan": "^1.0 || ^2.5",
"orchestra/testbench": "^6.27 || ^7.0 || ^8.0 ",
"orchestra/testbench": "^6.27 || ^7.0 || ^8.0 || ^9.0",
"pestphp/pest": "^1.22 || ^2.0",
"pestphp/pest-plugin-laravel": "^1.22 || ^2.0",
"spatie/laravel-ray": "^1.32"
Expand Down

0 comments on commit f5b00aa

Please sign in to comment.