File tree 3 files changed +11
-9
lines changed
3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 2
2
composer.lock
3
3
docs
4
4
vendor
5
- coverage
5
+ coverage
6
+ .phpunit.result.cache
Original file line number Diff line number Diff line change 17
17
],
18
18
"require" : {
19
19
"php" : " ^7.1" ,
20
- "illuminate/container" : " ^5.7|^5.8" ,
21
- "illuminate/database" : " ^5.7|^5.8" ,
22
- "illuminate/log" : " ^5.7|^5.8" ,
23
- "illuminate/routing" : " ^5.7|^5.8" ,
24
- "illuminate/support" : " ^5.7|^5.8" ,
20
+ "illuminate/container" : " ^5.7|^5.8|^6.0 " ,
21
+ "illuminate/database" : " ^5.7|^5.8|^6.0 " ,
22
+ "illuminate/log" : " ^5.7|^5.8|^6.0 " ,
23
+ "illuminate/routing" : " ^5.7|^5.8|^6.0 " ,
24
+ "illuminate/support" : " ^5.7|^5.8|^6.0 " ,
25
25
"willdurand/email-reply-parser" : " ^2.8" ,
26
26
"zbateson/mail-mime-parser" : " ^1.1"
27
27
},
28
28
"require-dev" : {
29
29
"mockery/mockery" : " ^1.2" ,
30
- "orchestra/testbench" : " ^3.7|^3.8" ,
31
- "phpunit/phpunit" : " ^7.0" ,
30
+ "orchestra/testbench" : " ^3.7|^3.8|^4.0 " ,
31
+ "phpunit/phpunit" : " ^7.0|^8.0 " ,
32
32
"zendframework/zend-mail" : " ^2.10"
33
33
},
34
34
"autoload" : {
Original file line number Diff line number Diff line change 8
8
use EmailReplyParser \EmailReplyParser ;
9
9
use Illuminate \Contracts \Mail \Mailable ;
10
10
use Illuminate \Database \Eloquent \Model ;
11
+ use Illuminate \Support \Str ;
11
12
use ZBateson \MailMimeParser \Header \AddressHeader ;
12
13
use ZBateson \MailMimeParser \Message as MimeMessage ;
13
14
use ZBateson \MailMimeParser \Header \Part \AddressPart ;
@@ -42,7 +43,7 @@ public static function fromMessage($message)
42
43
43
44
public function id (): string
44
45
{
45
- return $ this ->message ()->getHeaderValue ('Message-Id ' , str_random ());
46
+ return $ this ->message ()->getHeaderValue ('Message-Id ' , Str:: random ());
46
47
}
47
48
48
49
public function date (): Carbon
You can’t perform that action at this time.
0 commit comments