Skip to content

Commit c87792d

Browse files
fancywebnicolas-grekas
authored andcommitted
Remove \Throwable support deprecation layer
1 parent aee9d9f commit c87792d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

DataCollector/MessageDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(MessageLoggerListener $logger)
3232
/**
3333
* {@inheritdoc}
3434
*/
35-
public function collect(Request $request, Response $response, \Exception $exception = null)
35+
public function collect(Request $request, Response $response, \Throwable $exception = null)
3636
{
3737
$this->data['events'] = $this->events;
3838
}

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
"symfony/postmark-mailer": "^4.4|^5.0",
3434
"symfony/sendgrid-mailer": "^4.4|^5.0"
3535
},
36+
"conflict": {
37+
"symfony/http-kernel": "<4.4"
38+
},
3639
"autoload": {
3740
"psr-4": { "Symfony\\Component\\Mailer\\": "" },
3841
"exclude-from-classmap": [

0 commit comments

Comments
 (0)