Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5b27533

Browse filesBrowse files
committed
Reword deprecation messages
1 parent 9f8a847 commit 5b27533
Copy full SHA for 5b27533

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed

‎UPGRADE-6.0.md

Copy file name to clipboardExpand all lines: UPGRADE-6.0.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ HttpKernel
6868
Mailer
6969
------
7070

71-
* Removed the `SesApiTransport` class. Run `composer require async-aws/ses` to keep the transport in your application.
72-
* Removed the `SesHttpTransport` class. Run `composer require async-aws/ses` to keep the transport in your application.
71+
* Removed the `SesApiTransport` class. Use `SesApiAsyncAwsTransport` instead.
72+
* Removed the `SesHttpTransport` class. Use `SesHttpAsyncAwsTransport` instead.
7373

7474
Messenger
7575
---------

‎src/Symfony/Component/Mailer/Bridge/Amazon/Transport/SesTransportFactory.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Mailer/Bridge/Amazon/Transport/SesTransportFactory.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function create(Dsn $dsn): TransportInterface
3939
throw new \LogicException(sprintf('You cannot use "%s" as the HttpClient component or AsyncAws package is not installed. Try running "composer require async-aws/ses".', __CLASS__));
4040
}
4141

42-
trigger_deprecation('symfony/amazon-mailer', '5.1', 'Using the "%s" transport without AsyncAws is deprecated, use "new %s()" instead.', __METHOD__, \get_called_class());
42+
trigger_deprecation('symfony/amazon-mailer', '5.1', 'Using the "%s" transport without AsyncAws is deprecated. Try running "composer require async-aws/ses".', $scheme, \get_called_class());
4343

4444
$user = $this->getUser($dsn);
4545
$password = $this->getPassword($dsn);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.