Skip to content

Commit 6de97f8

Browse files
authored
Laravel 10 support (#14)
* Added Laravel 10 support * Dropped Laravel 8 support * Locked PHP versions to 8.1 and 8.2
1 parent 52a7854 commit 6de97f8

File tree

4 files changed

+31
-24
lines changed

4 files changed

+31
-24
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ jobs:
1414
strategy:
1515
fail-fast: true
1616
matrix:
17-
php: ['8.2', '8.1']
18-
laravel: ['9.*', '8.*']
17+
php: ['8.1', '8.2']
18+
laravel: ['9.*', '10.*']
1919
include:
2020
- laravel: '9.*'
2121
testbench: '7.*'
22-
larastan: '2.*'
23-
- laravel: '8.*'
24-
testbench: '6.*'
25-
larastan: '1.*'
22+
- laravel: '10.*'
23+
testbench: '8.*'
2624

2725
name: P${{ matrix.php }} - L${{ matrix.laravel }}
2826

@@ -51,26 +49,26 @@ jobs:
5149
# Lower PHP and laravel versions.
5250

5351
- name: PHPUnit without code coverage
54-
if: matrix.php != '8.2' || matrix.laravel != '9.*'
52+
if: matrix.php != '8.2' || matrix.laravel != '10.*'
5553
run: vendor/bin/testbench package:test --parallel --no-coverage
5654

5755
# Last PHP and laravel versions.
5856

5957
- name: Code analysis
60-
if: matrix.php == '8.2' && matrix.laravel == '9.*'
58+
if: matrix.php == '8.2' && matrix.laravel == '10.*'
6159
run: |
6260
vendor/bin/pint --test -vvv
6361
vendor/bin/phpmd config,src,tests text phpmd.xml
6462
vendor/bin/phpstan analyse
6563
6664
- name: PHPUnit with code coverage
67-
if: matrix.php == '8.2' && matrix.laravel == '9.*'
65+
if: matrix.php == '8.2' && matrix.laravel == '10.*'
6866
run: |
6967
mkdir -p build/logs
7068
vendor/bin/testbench package:test --parallel --coverage-text --coverage-clover build/logs/clover.xml
7169
7270
- name: Code coverage upload to Coveralls
73-
if: env.COVERALLS_REPO_TOKEN && matrix.php == '8.2' && matrix.laravel == '9.*'
71+
if: env.COVERALLS_REPO_TOKEN && matrix.php == '8.2' && matrix.laravel == '10.*'
7472
env:
7573
COVERALLS_RUN_LOCALLY: 1
7674
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## [2.4.0](https://github.com/Okipa/laravel-stuck-jobs-notifier/compare/2.3.0...2.4.0)
4+
5+
2023-01-22
6+
7+
* Added Laravel 10 support
8+
* Dropped Laravel 8 support
9+
* Locked PHP versions to 8.1 and 8.2
10+
311
## [2.3.0](https://github.com/Okipa/laravel-stuck-jobs-notifier/compare/2.2.2...2.3.0)
412

513
2022-12-16

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ Found this package helpful? Please consider supporting my work!
2828

2929
## Compatibility
3030

31-
| Laravel version | PHP version | Package version |
32-
|---|---|---|
33-
| ^8.0 | ^9.0 | ^8.1 | ^8.2 | ^2.3 |
34-
| ^8.0 | ^9.0 | ^8.0 | ^8.1 | ^2.2 |
35-
| ^7.0 | ^8.0 | ^7.4 | ^8.0 | ^2.1 |
36-
| ^7.0 | ^8.0 | ^7.4 | ^2.0 |
37-
| ^6.0 | ^7.0 | ^7.4 | ^1.0 |
31+
| Laravel version | PHP version | Package version |
32+
|-------------------|--------------------|-----------------|
33+
| ^9.0 | ^10.0 | 8.1.* | 8.2.* | ^2.4 |
34+
| ^8.0 | ^9.0 | ^8.1 | ^8.2 | ^2.3 |
35+
| ^8.0 | ^9.0 | ^8.0 | ^8.1 | ^2.2 |
36+
| ^7.0 | ^8.0 | ^7.4 | ^8.0 | ^2.1 |
37+
| ^7.0 | ^8.0 | ^7.4 | ^2.0 |
38+
| ^6.0 | ^7.0 | ^7.4 | ^1.0 |
3839

3940
## Upgrade guide
4041

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@
2525
}
2626
],
2727
"require": {
28-
"php": "^8.1|^8.2",
29-
"illuminate/contracts": "^8.0|^9.0"
28+
"php": "8.1.*|8.2.*",
29+
"illuminate/contracts": "^9.0|^10.0"
3030
},
3131
"require-dev": {
3232
"brianium/paratest": "^6.4",
33-
"laravel-notification-channels/webhook": "^2.3",
34-
"laravel/slack-notification-channel": "^2.4",
35-
"nunomaduro/collision": "^5.10|^6.0",
36-
"nunomaduro/larastan": "^1.0|^2.0",
37-
"orchestra/testbench": "^6.0|^7.0",
33+
"laravel-notification-channels/webhook": "^2.4",
34+
"laravel/slack-notification-channel": "^2.5",
35+
"nunomaduro/collision": "^6.0",
36+
"nunomaduro/larastan": "^2.0",
37+
"orchestra/testbench": "^7.0|^8.0",
3838
"phpmd/phpmd": "^2.11",
3939
"roave/security-advisories": "dev-latest",
4040
"laravel/pint": "^1.1"

0 commit comments

Comments
 (0)