Skip to content

Commit 154cfe7

Browse files
authored
Merge pull request #80 from clementmas/master
Add PHP 8.0 support
2 parents acc1ce8 + c42c7a7 commit 154cfe7

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ language: php
33
php:
44
- 7.3
55
- 7.4
6+
- 8.0
67

78
env:
89
matrix:

composer.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.3",
19+
"php": "^7.3|^8.0",
2020
"illuminate/container": "^6.0|^7.0|^8.0",
2121
"illuminate/database": "^6.0|^7.0|^8.0",
2222
"illuminate/log": "^6.0|^7.0|^8.0",
@@ -26,10 +26,10 @@
2626
"zbateson/mail-mime-parser": "^1.1"
2727
},
2828
"require-dev": {
29+
"laminas/laminas-mail": "^2.13",
2930
"mockery/mockery": "^1.2",
3031
"orchestra/testbench": "^4.0|^5.0",
31-
"phpunit/phpunit": "^7.0|^8.0",
32-
"zendframework/zend-mail": "^2.10"
32+
"phpunit/phpunit": "^7.0|^8.0|^9.3"
3333
},
3434
"autoload": {
3535
"psr-4": {
@@ -44,7 +44,6 @@
4444
"scripts": {
4545
"test": "vendor/bin/phpunit",
4646
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
47-
4847
},
4948
"config": {
5049
"sort-packages": true

tests/MailboxRouteCollectionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use BeyondCode\Mailbox\InboundEmail;
66
use BeyondCode\Mailbox\Routing\Route;
77
use BeyondCode\Mailbox\Routing\RouteCollection;
8-
use Zend\Mail\Message as TestMail;
8+
use Laminas\Mail\Message as TestMail;
99

1010
class MailboxRouteCollectionTest extends TestCase
1111
{

tests/MailboxRouteTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use BeyondCode\Mailbox\InboundEmail;
66
use BeyondCode\Mailbox\Routing\Route;
7-
use Zend\Mail\Message as TestMail;
7+
use Laminas\Mail\Message as TestMail;
88

99
class MailboxRouteTest extends TestCase
1010
{

0 commit comments

Comments
 (0)