Skip to content

Commit ab19f64

Browse files
authored
Merge pull request #29 from laravel-shift/l11-compatibility
Laravel 11.x Compatibility
2 parents a24274e + 7be84c7 commit ab19f64

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
name: run-tests
22

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

57
jobs:
68
test:
79
runs-on: ${{ matrix.os }}
10+
811
strategy:
912
fail-fast: false
1013
matrix:
1114
os: [ubuntu-latest]
1215
php: [8.2, 8.1, 8.0]
13-
laravel: [10.*, 9.*, 8.*]
16+
laravel: ['8.*', '9.*', '10.*', '11.*']
1417
stability: [prefer-lowest, prefer-stable]
1518
include:
1619
- laravel: 10.*
@@ -19,9 +22,15 @@ jobs:
1922
testbench: 7.*
2023
- laravel: 8.*
2124
testbench: ^6.23
25+
- laravel: 11.*
26+
testbench: 9.*
2227
exclude:
2328
- laravel: 10.*
2429
php: 8.0
30+
- laravel: 11.*
31+
php: 8.1
32+
- laravel: 11.*
33+
php: 8.0
2534

2635
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2736

@@ -45,4 +54,3 @@ jobs:
4554
run: |
4655
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
4756
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
48-

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"require": {
1515
"php": ">=7.2",
1616
"guzzlehttp/guzzle": "^6.3 || ^7.0",
17-
"illuminate/notifications": "~5.5 || ~6.0 || ~7.0 || ^8.0 || ^9.0 || ^10.0",
18-
"illuminate/support": "~5.5 || ~6.0 || ~7.0 || ^8.0 || ^9.0 || ^10.0"
17+
"illuminate/notifications": "~5.5 || ~6.0 || ~7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
18+
"illuminate/support": "~5.5 || ~6.0 || ~7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0"
1919
},
2020
"require-dev": {
2121
"mockery/mockery": "^1.2.3",
22-
"phpunit/phpunit": "^8.0|^9.5"
22+
"phpunit/phpunit": "^8.0 || ^9.5 || ^10.5"
2323
},
2424
"autoload": {
2525
"psr-4": {

0 commit comments

Comments
 (0)