8000 Reword deprecation messages · symfony/symfony@5621505 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5621505

Browse files
committed
Reword deprecation messages
1 parent c975f59 commit 5621505

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

UPGRADE-6.0.md

Lines 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

Lines 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