Skip to content

Commit b7f32ec

Browse files
Enable support for Laravel 11.x
Co-authored-by: Roberto Aguilar <[email protected]>
1 parent 125698c commit b7f32ec

File tree

5 files changed

+17
-30
lines changed

5 files changed

+17
-30
lines changed

.github/workflows/phpunit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: ['8.0', '8.1']
16+
php: ['8.2']
1717
stability: [prefer-lowest, prefer-stable]
1818

1919
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/vendor
22
*.bak
33
.phpunit.result.cache
4+
.phpunit.cache
45
composer.lock

composer.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,17 @@
2020
}
2121
],
2222
"require": {
23-
"php": "^8.0.2",
24-
"illuminate/support": "^9.0|^10.0",
23+
"php": "^8.2",
24+
"illuminate/support": "^11.0",
2525
"mailchimp/transactional": "^1.0",
26-
"symfony/mailchimp-mailer": "^6.0",
27-
"symfony/http-client": "^6.0"
26+
"symfony/mailchimp-mailer": "^7.0",
27+
"symfony/http-client": "^7.0"
2828
},
2929
"require-dev": {
30-
"mockery/mockery": "^1.0",
31-
"orchestra/testbench": "^7.0",
32-
"phpunit/phpunit": "^9.0",
33-
"psy/psysh": "^0.11",
34-
"symfony/var-dumper": "^6.0"
30+
"phpunit/phpunit": "^10.5",
31+
"psy/psysh": "^0.12",
32+
"symfony/var-dumper": "^7.0",
33+
"orchestra/testbench": "^9.0"
3534
},
3635
"autoload": {
3736
"psr-4": {

phpunit.xml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
4-
bootstrap="vendor/autoload.php"
5-
backupGlobals="false"
6-
backupStaticAttributes="false"
7-
colors="true"
8-
verbose="true"
9-
convertErrorsToExceptions="true"
10-
convertNoticesToExceptions="true"
11-
convertWarningsToExceptions="true"
12-
processIsolation="false"
13-
stopOnFailure="false">
14-
<coverage>
15-
<include>
16-
<directory suffix=".php">src/</directory>
17-
</include>
18-
</coverage>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" backupGlobals="false" colors="true" processIsolation="false" stopOnFailure="false" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
193
<testsuites>
204
<testsuite name="Unit">
215
<directory>tests</directory>
226
</testsuite>
237
</testsuites>
8+
<source>
9+
<include>
10+
<directory suffix=".php">src/</directory>
11+
</include>
12+
</source>
2413
</phpunit>

src/MandrillServiceProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ class MandrillServiceProvider extends ServiceProvider
1010
{
1111
/**
1212
* Bootstrap any application services.
13-
*
14-
* @return void
1513
*/
16-
public function boot()
14+
public function boot(): void
1715
{
1816
$this->app['mail.manager']->extend('mandrill', function () {
1917
return (new MandrillTransportFactory)->create(

0 commit comments

Comments
 (0)