Skip to content

Commit b0eb8f6

Browse files
authoredMar 26, 2025
Merge pull request #332 from celcius-digital-agency/main
Laravel 12
2 parents de843f4 + f3db664 commit b0eb8f6

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed
 

‎.github/workflows/run-tests.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ jobs:
1010
matrix:
1111
os: [ubuntu-latest, windows-latest]
1212
php: [8.2, 8.1]
13-
laravel: [9.*, 10.*]
13+
laravel: [9.*, 10.*, 11.*, 12.*]
1414
dependency-version: [prefer-stable]
1515
include:
16+
- laravel: 12.*
17+
testbench: 10.*
18+
- laravel: 11.*
19+
testbench: 9.*
1620
- laravel: 10.*
1721
testbench: 8.*
1822
- laravel: 9.*

‎composer.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^8.1",
21+
"php": "^8.1|^8.2",
2222
"spatie/laravel-package-tools": "^1.13",
23-
"illuminate/log": "^9|^10|^11"
23+
"illuminate/log": "^9|^10|^11|^12"
2424
},
2525
"suggest": {
2626
"spatie/mailcoach-sdk-php": "For working with Mailcoach",
@@ -30,10 +30,10 @@
3030
"drewm/mailchimp-api": "^2.5",
3131
"guzzlehttp/guzzle": "^7.5|^7.2",
3232
"mockery/mockery": "^1.4",
33-
"orchestra/testbench": "^7.11|^8.0",
34-
"pestphp/pest": "^1.20",
33+
"orchestra/testbench": "^7.11|^8.0|^9.0|^10.0",
34+
"pestphp/pest": "^1.20|^2.0|^3.0",
3535
"phpstan/phpstan": "^1.9",
36-
"phpunit/phpunit": "^9.5",
36+
"phpunit/phpunit": "^9.5|^10.0|^11.0|^12.0",
3737
"spatie/mailcoach-sdk-php": "^1.0",
3838
"spatie/ray": "^1.28"
3939
},

‎tests/Drivers/NullDriverTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
it('accepts calls to the NullDriver', function () {
2424
config()->set('newsletter.driver', null);
2525

26-
expect(app('newsletter')->subscribe('example@example.org'))->toBeNull();
26+
expect(app('newsletter')->subscribe('example@example.org'))->toBeInstanceOf(NullDriver::class);
2727
});

0 commit comments

Comments
 (0)