Skip to content

Commit 20bb492

Browse files
Laravel 10.x Compatibility (#78)
* Bump dependencies for Laravel 10 * Update GitHub Actions for Laravel 10
1 parent fe2bb25 commit 20bb492

File tree

2 files changed

+35
-31
lines changed

2 files changed

+35
-31
lines changed

.github/workflows/run-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,20 @@ jobs:
1010
matrix:
1111
os: [ubuntu-latest]
1212
php: [8.2, 8.1, 8.0]
13-
laravel: [7.*, 8.*, 9.*]
13+
laravel: [7.*, 8.*, 9.*, 10.*]
1414
dependency-version: [prefer-stable]
1515
include:
16+
- laravel: 10.*
17+
testbench: 8.*
1618
- laravel: 9.*
1719
testbench: 7.*
1820
- laravel: 8.*
1921
testbench: 6.*
2022
- laravel: 7.*
2123
testbench: 5.*
2224
exclude:
25+
- laravel: 10.*
26+
php: 8.0
2327
- laravel: 7.*
2428
php: 8.2
2529
- laravel: 7.*

composer.json

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name" : "spatie/laravel-failed-job-monitor",
3-
"description" : "Get notified when a queued job fails",
4-
"keywords" : [
2+
"name": "spatie/laravel-failed-job-monitor",
3+
"description": "Get notified when a queued job fails",
4+
"keywords": [
55
"spatie",
66
"queue",
77
"job",
@@ -10,46 +10,46 @@
1010
"slack",
1111
"laravel-failed-job-monitor"
1212
],
13-
"homepage" : "https://github.com/spatie/laravel-failed-job-monitor",
14-
"license" : "MIT",
15-
"authors" : [
13+
"homepage": "https://github.com/spatie/laravel-failed-job-monitor",
14+
"license": "MIT",
15+
"authors": [
1616
{
17-
"name" : "Freek Van der Herten",
18-
"email" : "[email protected]",
19-
"homepage" : "https://spatie.be",
20-
"role" : "Developer"
17+
"name": "Freek Van der Herten",
18+
"email": "[email protected]",
19+
"homepage": "https://spatie.be",
20+
"role": "Developer"
2121
}
2222
],
23-
"require" : {
24-
"php" : "^8.0",
25-
"laravel/framework" : "^7.0|^8.0|^9.0",
23+
"require": {
24+
"php": "^8.0",
25+
"laravel/framework": "^7.0|^8.0|^9.0|^10.0",
2626
"spatie/laravel-package-tools": "^1.6"
2727
},
28-
"require-dev" : {
29-
"phpunit/phpunit" : "^8.5|^9.5",
28+
"require-dev": {
29+
"phpunit/phpunit": "^8.5|^9.5",
3030
"mockery/mockery": "^1.4",
31-
"orchestra/testbench" : "^5.0|^6.0|^7.0"
31+
"orchestra/testbench": "^5.0|^6.0|^7.0|^8.0"
3232
},
33-
"autoload" : {
34-
"psr-4" : {
35-
"Spatie\\FailedJobMonitor\\" : "src"
33+
"autoload": {
34+
"psr-4": {
35+
"Spatie\\FailedJobMonitor\\": "src"
3636
}
3737
},
38-
"autoload-dev" : {
39-
"psr-4" : {
40-
"Spatie\\FailedJobMonitor\\Test\\" : "tests"
38+
"autoload-dev": {
39+
"psr-4": {
40+
"Spatie\\FailedJobMonitor\\Test\\": "tests"
4141
}
4242
},
43-
"scripts" : {
44-
"test" : "vendor/bin/phpunit"
43+
"scripts": {
44+
"test": "vendor/bin/phpunit"
4545
},
46-
"suggest" : {
47-
"guzzlehttp/guzzle" : "Allows notifications to be sent to Slack",
48-
"laravel/slack-notification-channel" : "Required for sending notifications via Slack"
46+
"suggest": {
47+
"guzzlehttp/guzzle": "Allows notifications to be sent to Slack",
48+
"laravel/slack-notification-channel": "Required for sending notifications via Slack"
4949
},
50-
"extra" : {
51-
"laravel" : {
52-
"providers" : [
50+
"extra": {
51+
"laravel": {
52+
"providers": [
5353
"Spatie\\FailedJobMonitor\\FailedJobMonitorServiceProvider"
5454
]
5555
}

0 commit comments

Comments
 (0)