Skip to content

Commit

Permalink
Merge branch '3.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Jun 25, 2024
2 parents 43902b4 + f0d6a90 commit 12ac215
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Code style and composer validate
on:
pull_request:
push:
branches: [ master, 2.x ]
branches: [ master, 2.x, 3.x ]

jobs:
composer-validate:
Expand Down
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

### 3.4.0 (2024-06-25)

* Deprecated the TwigSwiftMailer implementation

### 3.3.0 (2024-06-24)

* Added a mailer implementation based on symfony/mailer and Twig
Expand Down
7 changes: 0 additions & 7 deletions docs/emails.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,3 @@ An example is listed below.
# ...
service:
mailer: app.custom_fos_user_mailer
To see an example of a working implementation of the ``MailerInterface``
see the `ZetaMailer`_ class of the `ZetaWebmailBundle`_. This implementation
uses the Zeta Components Mail to send emails instead of the mailer component.

.. _ZetaMailer: https://github.com/simplethings/ZetaWebmailBundle/blob/master/UserBundle/ZetaMailer.php
.. _ZetaWebmailBundle: https://github.com/simplethings/ZetaWebmailBundle
2 changes: 1 addition & 1 deletion tests/Doctrine/UserManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function testGetClass()
public function testFindUserBy()
{
$crit = ['foo' => 'bar'];
$this->repository->expects($this->once())->method('findOneBy')->with($this->equalTo($crit))->will($this->returnValue([]));
$this->repository->expects($this->once())->method('findOneBy')->with($this->equalTo($crit))->will($this->returnValue(null));

$this->userManager->findUserBy($crit);
}
Expand Down

0 comments on commit 12ac215

Please sign in to comment.