Skip to content

Commit 42ad51b

Browse files
authored
Laravel 10 support (#7)
* Update test matrix * Update dependencies * Update changelog
1 parent c95d7df commit 42ad51b

File tree

4 files changed

+19
-13
lines changed

4 files changed

+19
-13
lines changed

.github/workflows/coverage.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
uses: actions/cache@v2
1717
with:
1818
path: ~/.composer/cache/files
19-
key: dependencies-php-8.1-illuminate-9.*-composer-${{ hashFiles('composer.json') }}
19+
key: dependencies-php-8.2-illuminate-10.*-composer-${{ hashFiles('composer.json') }}
2020

2121
- name: Setup PHP
2222
uses: shivammathur/setup-php@v2
2323
with:
24-
php-version: 8.1
24+
php-version: 8.2
2525
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, gd
2626
coverage: xdebug
2727

.github/workflows/tests.yml

+6-8
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,23 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
php: [7.4, 8.0, 8.1]
17-
illuminate: [6.*, 7.*, 8.*, ^9.0]
16+
php: [8.0, 8.1, 8.2]
17+
illuminate: [8.*, ^9.0, ^10.0]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
20-
- illuminate: 6.*
21-
testbench: 4.*
22-
- illuminate: 7.*
23-
testbench: 5.*
2420
- illuminate: 8.*
2521
testbench: ~6.22
2622
- illuminate: ^9.0
2723
testbench: 7.*
24+
- illuminate: ^10.0
25+
testbench: 8.*
2826
exclude:
29-
- php: 7.4
30-
illuminate: ^9.0
3127
- php: 8.1
3228
illuminate: 7.*
3329
- php: 8.1
3430
illuminate: 6.*
31+
- php: 8.0
32+
illuminate: ^10.0
3533

3634
name: P${{ matrix.php }} - I${{ matrix.illuminate }} - ${{ matrix.stability }}
3735

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased](https://github.com/markwalet/laravel-packagist/compare/v1.4.0...master)
44

5+
### Added
6+
- Added Laravel 10 support.
7+
8+
### Removed
9+
- Removed PHP 7.4 support.
10+
- Removed Laravel 6 support.
11+
- Removed Laravel 7 support.
12+
513
## [v1.4.0 (2022-02-08)](https://github.com/markwalet/laravel-packagist/compare/v1.3.0...v1.4.0)
614

715
### Added

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
}
1313
],
1414
"require": {
15-
"php": "~7.4|8.*",
15+
"php": "8.*",
1616
"ext-json": "*",
17-
"laravel/framework": "6.*|7.*|8.*|^9.0",
17+
"laravel/framework": "8.*|^9.0|^10.0",
1818
"phpoption/phpoption": ">=1.8",
1919
"spatie/packagist-api": "^2.0"
2020
},
2121
"require-dev": {
2222
"phpunit/phpunit": "~9.3",
23-
"orchestra/testbench": "4.*|5.*|~6.22|7.*"
23+
"orchestra/testbench": "~6.22|7.*|8.*"
2424
},
2525
"autoload": {
2626
"psr-4": {

0 commit comments

Comments
 (0)