Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 668adcc

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: [Testing] Fix typo in assertEmailAttachmentCount Remove Jakub from the core team Use correct domain Fix DSNs Fix DSN Use UserBadge in all passports
2 parents 8cf5535 + e176d99 commit 668adcc

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

contributing/code/core_team.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ Active Core Members
6060
* **Christian Flothmann** (`xabbuh`_);
6161
* **Tobias Schultze** (`Tobion`_);
6262
* **Kévin Dunglas** (`dunglas`_);
63-
* **Jakub Zalas** (`jakzal`_);
6463
* **Javier Eguiluz** (`javiereguiluz`_);
6564
* **Grégoire Pineau** (`lyrixx`_);
6665
* **Ryan Weaver** (`weaverryan`_);
@@ -106,7 +105,8 @@ Symfony contributions:
106105
* **Romain Neutron** (`romainneutron`_);
107106
* **Jordi Boggiano** (`Seldaek`_);
108107
* **Lukas Kahwe Smith** (`lsmith77`_);
109-
* **Jules Pietri** (`HeahDude`_).
108+
* **Jules Pietri** (`HeahDude`_);
109+
* **Jakub Zalas** (`jakzal`_).
110110

111111
Core Membership Application
112112
~~~~~~~~~~~~~~~~~~~~~~~~~~~

mailer.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ party provider:
163163
Mailchimp Mandrill mandrill+smtp://USERNAME:PASSWORD@default mandrill+https://KEY@default mandrill+api://KEY@default
164164
Mailgun mailgun+smtp://USERNAME:PASSWORD@default mailgun+https://KEY:DOMAIN@default mailgun+api://KEY:DOMAIN@default
165165
Mailjet mailjet+smtp://ACCESS_KEY:SECRET_KEY@default n/a mailjet+api://ACCESS_KEY:SECRET_KEY@default
166-
Postmark postmark+smtp://ID:ID@default n/a postmark+api://KEY@default
167-
Sendgrid sendgrid+smtp://apikey:KEY@default n/a sendgrid+api://KEY@default
168-
Sendinblue sendinblue+smtp://apikey:USERNAME:PASSWORD@default n/a sendinblue+api://KEY@default
166+
Postmark postmark+smtp://ID@default n/a postmark+api://KEY@default
167+
Sendgrid sendgrid+smtp://KEY@default n/a sendgrid+api://KEY@default
168+
Sendinblue sendinblue+smtp://USERNAME:PASSWORD@default n/a sendinblue+api://KEY@default
169169
==================== ==================================================== =========================================== ========================================
170170

171171
.. caution::
@@ -192,8 +192,8 @@ party provider:
192192
.. code-block:: env
193193
194194
# .env
195-
MAILER_DSN=mailgun+https://KEY:DOMAIN@example.com
196-
MAILER_DSN=mailgun+https://KEY:DOMAIN@example.com:99
195+
MAILER_DSN=mailgun+https://KEY:DOMAIN@requestbin.com
196+
MAILER_DSN=mailgun+https://KEY:DOMAIN@requestbin.com:99
197197
198198
Note that the protocol is *always* HTTPs and cannot be changed.
199199

security/experimental_authenticators.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -494,15 +494,15 @@ The following credential classes are supported by default:
494494
use Symfony\Component\Security\Http\Authenticator\Passport\Credentials\PasswordCredentials;
495495

496496
// ...
497-
return new Passport($user, new PasswordCredentials($plaintextPassword));
497+
return new Passport(new UserBadge($email), new PasswordCredentials($plaintextPassword));
498498

499499
:class:`Symfony\\Component\\Security\\Http\\Authenticator\\Passport\\Credentials\\CustomCredentials`
500500
Allows a custom closure to check credentials::
501501

502502
use Symfony\Component\Security\Http\Authenticator\Passport\Credentials\CustomCredentials;
503503

504504
// ...
505-
return new Passport($user, new CustomCredentials(
505+
return new Passport(new UserBadge($email), new CustomCredentials(
506506
// If this function returns anything else than `true`, the credentials
507507
// are marked as invalid.
508508
// The $credentials parameter is equal to the next argument of this class
@@ -581,7 +581,7 @@ would initialize the passport like this::
581581
// ... validate no parameter is empty
582582

583583
return new Passport(
584-
new UserBadge($user),
584+
new UserBadge($email),
585585
new PasswordCredentials($password),
586586
[new CsrfTokenBadge('login', $csrfToken)]
587587
);

testing/functional_tests_assertions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Mailer
110110
- ``assertQueuedEmailCount()``
111111
- ``assertEmailIsQueued()``
112112
- ``assertEmailIsNotQueued()``
113-
- ``assertEmailAttachementCount()``
113+
- ``assertEmailAttachmentCount()``
114114
- ``assertEmailTextBodyContains()``
115115
- ``assertEmailTextBodyNotContains()``
116116
- ``assertEmailHtmlBodyContains()``

0 commit comments

Comments
 (0)