Skip to content

Commit a53b19f

Browse files
authoredFeb 28, 2024··
Merge pull request #31 from bilfeldt/updates/laravel11
Laravel 11 support
2 parents 26ad651 + b04836f commit a53b19f

File tree

3 files changed

+29
-13
lines changed

3 files changed

+29
-13
lines changed
 

‎.github/workflows/run-tests.yml

+20-8
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,36 @@
11
name: run-tests
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
410

511
jobs:
612
test:
713
runs-on: ${{ matrix.os }}
14+
815
strategy:
916
fail-fast: false
1017
matrix:
1118
os: [ubuntu-latest, windows-latest]
1219
php: [8.3, 8.2, 8.1]
13-
laravel: [10.*, 9.*]
14-
stability: [prefer-stable]
20+
laravel: ['9.*', '10.*', '11.*']
21+
dependency-version: [prefer-stable]
1522
include:
16-
- laravel: 10.*
17-
testbench: 8.*
1823
- laravel: 9.*
1924
testbench: 7.*
25+
- laravel: 10.*
26+
testbench: 8.*
27+
- laravel: 11.*
28+
testbench: 9.*
29+
exclude:
30+
- laravel: 11.*
31+
php: 8.1
2032

21-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
33+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
2234

2335
steps:
2436
- name: Checkout code
@@ -39,7 +51,7 @@ jobs:
3951
- name: Install dependencies
4052
run: |
4153
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
42-
composer update --${{ matrix.stability }} --prefer-dist --no-interaction --dev
54+
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
4355
4456
- name: Execute tests
45-
run: vendor/bin/phpunit
57+
run: composer run-script test

‎CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,13 @@ The following changes are required when updating:
5555

5656
## Changes
5757

58+
### 2.2.0
59+
60+
- Add Laravel 11 support
61+
5862
### 2.1.0
5963

60-
- Add PHP 8.2 support
64+
- Add PHP 8.3 support
6165

6266
### 2.0.0
6367

‎composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
"php": "~8.3.0 | ~8.2.0 | ~8.1.0",
2424
"ext-json": "*",
2525
"guzzlehttp/guzzle": "^7.2",
26-
"illuminate/http": "^9.0 || ^10.0",
27-
"illuminate/support": "^9.0 || ^10.0",
26+
"illuminate/http": "^9.0 || ^10.0 || ^11.0",
27+
"illuminate/support": "^9.0 || ^10.0 || ^11.0",
2828
"spatie/laravel-package-tools": "^1.1"
2929
},
3030
"require-dev": {
31-
"orchestra/testbench": "^7.0",
32-
"phpunit/phpunit": "^9.5.10",
31+
"orchestra/testbench": "^7.0 || ^8.0 || ^9.0",
32+
"phpunit/phpunit": "^9.5.10 || ^10.0",
3333
"spatie/laravel-ray": "^1.29",
3434
"timacdonald/log-fake": "^2.0",
3535
"vimeo/psalm": "^4.20"

0 commit comments

Comments
 (0)
Please sign in to comment.