diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index 016959040..2fe338076 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -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: diff --git a/Changelog.md b/Changelog.md index 5686ac0b3..35d5b4916 100644 --- a/Changelog.md +++ b/Changelog.md @@ -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 diff --git a/docs/emails.rst b/docs/emails.rst index ee1c032fe..0a5016329 100644 --- a/docs/emails.rst +++ b/docs/emails.rst @@ -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 diff --git a/tests/Doctrine/UserManagerTest.php b/tests/Doctrine/UserManagerTest.php index 41a30dc9d..ed9bf9f37 100644 --- a/tests/Doctrine/UserManagerTest.php +++ b/tests/Doctrine/UserManagerTest.php @@ -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); }