Release 2.12 (#4609)

This commit is contained in:
Kevin Papst
2024-02-07 23:47:25 +01:00
committed by GitHub
parent 7abe787778
commit 85a16a9363
394 changed files with 1189 additions and 6735 deletions

View File

@@ -22,7 +22,7 @@ use Symfony\Component\Mime\Email;
*/
class EmailSubscriberTest extends TestCase
{
public function testGetSubscribedEvents()
public function testGetSubscribedEvents(): void
{
$events = EmailSubscriber::getSubscribedEvents();
$this->assertArrayHasKey(EmailEvent::class, $events);
@@ -30,7 +30,7 @@ class EmailSubscriberTest extends TestCase
$this->assertTrue(method_exists(EmailSubscriber::class, $methodName));
}
public function testSendIsTriggered()
public function testSendIsTriggered(): void
{
$mailer = $this->createMock(MailerInterface::class);
$mailer->expects($this->once())->method('send');