Skip to content

Commit d439ca1

Browse files
Laravel 11.x Compatibility (#668)
* Bump dependencies for Laravel 11 * Update GitHub Actions for Laravel 11 * Remove --verbose --------- Co-authored-by: Santiago García <[email protected]>
1 parent be51649 commit d439ca1

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

Diff for: .github/workflows/tests.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
name: tests
22

3-
on: [push, pull_request]
3+
on:
4+
- push
5+
- pull_request
46

57
jobs:
68
tests:
79
runs-on: ubuntu-latest
10+
811
strategy:
912
fail-fast: false
1013
matrix:
1114
php: [8.1, 8.2]
1215
stability: [prefer-stable]
13-
laravel: ["^10.0"]
14-
# exclude:
15-
# - php: 8.0
16-
# laravel: "^10.0"
16+
laravel: ['11.0', ^10.0]
17+
exclude:
18+
- laravel: '11.0'
19+
php: 8.1
1720

1821
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.laravel }}
1922

@@ -38,4 +41,4 @@ jobs:
3841
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --with laravel/framework:${{ matrix.laravel }}
3942

4043
- name: Execute tests
41-
run: vendor/bin/phpunit --verbose
44+
run: vendor/bin/phpunit

Diff for: composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
"require": {
2424
"php": ">=8.1",
2525
"kkszymanowski/traitor": "^1.0",
26-
"laravel/framework": "^10.0"
26+
"laravel/framework": "^10.0|^11.0"
2727
},
2828
"require-dev": {
2929
"mockery/mockery": "^1.3.2",
30-
"orchestra/testbench": "^8.0",
31-
"phpunit/phpunit": "^8.4|^9.0"
30+
"orchestra/testbench": "^8.0|^9.0",
31+
"phpunit/phpunit": "^8.4|^9.0|^10.5"
3232
},
3333
"autoload": {
3434
"psr-4": {

0 commit comments

Comments
 (0)