Skip to content

Commit

Permalink
Support Laravel 11 (barryvdh#1513)
Browse files Browse the repository at this point in the history
* Support Laravel 11

* No fail fast

* Exclude unit tests for now
  • Loading branch information
barryvdh authored Feb 12, 2024
1 parent 0c5cebc commit f390a22
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fix-cs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
coverage: none
tools: composer:v2

Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,17 @@ jobs:
env:
COMPOSER_NO_INTERACTION: 1
strategy:
fail-fast: false
matrix:
php: [8.3, 8.2, 8.1, 8.0]
laravel: [10.*, 9.*]
laravel: [11.*, 10.*, 9.*]
exclude:
- laravel: 10.*
php: 8.0
- laravel: 11.*
php: 8.0
- laravel: 11.*
php: 8.1
name: P${{ matrix.php }} - Laravel${{ matrix.laravel }}
steps:
- name: Checkout code
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,18 @@ jobs:
COMPOSER_NO_INTERACTION: 1

strategy:
fail-fast: false
matrix:
php: [8.3, 8.2, 8.1, 8.0]
laravel: [^10, ^9]
dependency-version: [prefer-stable]
exclude:
- laravel: ^10
php: 8.0
- laravel: ^11
php: 8.0
- laravel: ^11
php: 8.1

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
],
"require": {
"php": "^8.0",
"maximebf/debugbar": "^1.20",
"illuminate/routing": "^9|^10",
"illuminate/session": "^9|^10",
"illuminate/support": "^9|^10",
"symfony/finder": "^6"
"maximebf/debugbar": "1.20.x",
"illuminate/routing": "^9|^10|^11",
"illuminate/session": "^9|^10|^11",
"illuminate/support": "^9|^10|^11",
"symfony/finder": "^6|^7"
},
"require-dev": {
"mockery/mockery": "^1.3.3",
"orchestra/testbench-dusk": "^5|^6|^7|^8",
"orchestra/testbench-dusk": "^5|^6|^7|^8|^9",
"phpunit/phpunit": "^8.5.30|^9.0",
"squizlabs/php_codesniffer": "^3.5"
},
Expand All @@ -40,7 +40,7 @@
"prefer-stable": true,
"extra": {
"branch-alias": {
"dev-master": "3.9-dev"
"dev-master": "3.10-dev"
},
"laravel": {
"providers": [
Expand Down

0 comments on commit f390a22

Please sign in to comment.