Skip to content

Commit dc3cc9b

Browse files
authored
Merge pull request #19 from bilfeldt/feature/laravel9
Add Laravel 9 support
2 parents 1747837 + 54c8eea commit dc3cc9b

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

.github/workflows/run-tests.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,21 @@ jobs:
1313
fail-fast: true
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
16-
php: [7.4, 8.0]
17-
laravel: [8.*]
18-
stability: [prefer-lowest, prefer-stable]
16+
php: [8.1, 8.0, 7.4]
17+
laravel: [9.*, 8.*]
18+
dependency-version: [prefer-stable]
1919
include:
20+
- laravel: 9.*
21+
testbench: 7.*
2022
- laravel: 8.*
21-
testbench: ^6.6
23+
testbench: 6.*
24+
exclude:
25+
- laravel: 7.*
26+
php: 8.1
27+
- laravel: 9.*
28+
php: 7.4
2229

23-
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
30+
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
2431

2532
steps:
2633
- name: Checkout code
@@ -41,7 +48,7 @@ jobs:
4148
- name: Install dependencies
4249
run: |
4350
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
44-
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
51+
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
4552
4653
- name: Execute tests
4754
run: vendor/bin/pest

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to `laravel-request-logger` will be documented in this file.
44

5+
## v1.1.0 - 2022-01-28
6+
7+
- Add Laravel 9 support
8+
- Add PHP 8.1 support
9+
510
## v1.0.2 - 2022-01-11
611

712
- Exclude the parameter api_token per default from all logs (added to config) #17

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.4|^8.0",
19+
"php": "^7.4 || ^8.0",
2020
"spatie/laravel-package-tools": "^1.4.3",
21-
"illuminate/contracts": "^8.50",
21+
"illuminate/contracts": "^8.50 || ^9.0",
2222
"ext-json": "*"
2323
},
2424
"require-dev": {
25-
"nunomaduro/collision": "^5.3",
26-
"nunomaduro/larastan": "^1.0",
27-
"orchestra/testbench": "^6.15",
25+
"nunomaduro/collision": "^5.3 || ^6.0",
26+
"nunomaduro/larastan": "^1.0 || ^2.0",
27+
"orchestra/testbench": "^6.15 || ^7.0",
2828
"pestphp/pest": "^1.18",
2929
"pestphp/pest-plugin-laravel": "^1.1",
3030
"phpstan/extension-installer": "^1.1",

0 commit comments

Comments
 (0)