Skip to content

Commit b57d3a9

Browse files
committed
build: add support for Laravel 10
1 parent 6465552 commit b57d3a9

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
php: [ '7.4', '8.0', '8.1' ]
13-
laravel: [ '6.*', '7.*', '8.*', '9.*' ]
13+
laravel: [ '8.*', '9.*', '10.*' ]
1414
stability: [ prefer-lowest, prefer-stable ]
1515
exclude:
16-
- laravel: '6.*'
17-
php: '8.1'
18-
- laravel: '7.*'
19-
php: '8.1'
2016
- laravel: '9.*'
2117
php: '7.4'
18+
- laravel: '10.*'
19+
php: '7.4'
20+
- laravel: '10.*'
21+
php: '8.0'
2222

2323
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }}
2424

@@ -49,7 +49,7 @@ jobs:
4949

5050
- name: Install dependencies
5151
run: |
52-
composer require "illuminate/contracts:${{ matrix.laravel }}" "swisnl/illuminate-collections:${{ matrix.laravel }}" --no-interaction --no-update
52+
composer require "illuminate/collections:${{ matrix.laravel }}" "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-update
5353
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
5454
5555
- name: Execute tests

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
### Added
10+
11+
* Added support for Laravel 10.
12+
913
### Removed
1014

1115
* Dropped PHP <7.4 support.
16+
* Dropped Laravel <8 support.
1217

1318
## [2.2.0] - 2022-09-08
1419

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"require": {
66
"php": "^7.4|^8.0",
77
"ext-json": "*",
8-
"illuminate/contracts": "^6.0|^7.0|^8.0|^9.0",
8+
"illuminate/collections": "^8.0|^9.0|^10.0",
9+
"illuminate/contracts": "^8.0|^9.0|^10.0",
910
"php-http/discovery": "^1.9",
1011
"psr/http-client": "^1.0",
1112
"psr/http-client-implementation": "^1.0",
1213
"psr/http-factory": "^1.0",
1314
"psr/http-factory-implementation": "^1.0",
14-
"psr/http-message": "^1.0",
15-
"swisnl/illuminate-collections": "^6.0|^7.0|^8.0|^9.0"
15+
"psr/http-message": "^1.0"
1616
},
1717
"require-dev": {
1818
"friendsofphp/php-cs-fixer": "^3.0",

0 commit comments

Comments
 (0)