Skip to content

Commit fb807dd

Browse files
authored
Merge pull request #6 from JVercout/laravel-11-support
Laravel 11 support
2 parents 0d6a40b + 1eccbc9 commit fb807dd

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/run-tests.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ jobs:
1414
matrix:
1515
os: [ubuntu-latest, windows-latest]
1616
php: [8.1, 8.2]
17-
laravel: [9.*, 10.*]
17+
laravel: [9.*, 10.*, 11.*]
1818
stability: [prefer-lowest, prefer-stable]
1919
include:
2020
- laravel: 9.*
2121
testbench: 7.*
2222
- laravel: 10.*
2323
testbench: 8.*
24+
- laravel: 11.*
25+
testbench: 8.*
2426

2527
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
2628

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"require": {
1919
"php": "^8.1 | ^8.2",
20-
"illuminate/contracts": "^9.0 | ^10.0"
20+
"illuminate/contracts": "^9.0 | ^10.0 | ^11.0"
2121
},
2222
"require-dev": {
2323
"laravel/pint": "^1.0",

tests/NotificationEventSubscriberTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function it_listens_notification_sent_event(): void
2020
Log::shouldReceive('info')->with('notification is being sent to foo@bar.com via mail')->once();
2121

2222
// Act
23-
Notification::route('mail', 'foo@bar.com')->notify(new TestNotification());
23+
Notification::route('mail', 'foo@bar.com')->notify(new TestNotification);
2424
}
2525
}
2626

0 commit comments

Comments
 (0)