Skip to content

Commit d7d304b

Browse files
committed
Merge branch '7.1' into 7.2
* 7.1: fix test Bump Symfony version to 7.1.1 Update VERSION for 7.1.0 Update CHANGELOG for 7.1.0
2 parents c07eba4 + 6644076 commit d7d304b

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

CHANGELOG-7.1.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ in 7.1 minor versions.
77
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
88
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v7.1.0...v7.1.1
99

10+
* 7.1.0 (2024-05-31)
11+
12+
* bug #57248 [DoctrineBridge] Revert deprecating by-{id} mapping of entities (nicolas-grekas)
13+
* bug #54572 [Mailer] Fix sendmail transport failure handling and interactive mode (bobvandevijver)
14+
* bug #57228 [Mime] fix PHP 7 compatibility (xabbuh)
15+
* bug #57065 [Mime] Fixed `Mime\Message::ensureValidity()` when a required header is set, but has an empty body (rhertogh)
16+
* bug #57069 [Config] gracefully handle cases when no resolver is set (xabbuh)
17+
* bug #57109 [Notifier] keep boolean options when their value is false (xabbuh)
18+
* bug #56848 [DoctrineBridge] Undeprecate DoctrineExtractor::getTypes() (derrabus)
19+
* bug #54971 [Serializer] Cache readability/writability computation (mtarld)
20+
* bug #54979 [Cache] Fix irrelevant deprecation when connecting to Couchbase (derrabus)
21+
* bug #56827 Fix CharsetValidator with string encoding (alamirault)
22+
* bug #54977 [DependencyInjection] Fix prepending strategy for php config loader (yceruto)
23+
* bug #56488 [VarExporter] Fix exporting default values involving global constants (kylekatarnls)
24+
1025
* 7.1.0-RC1 (2024-05-17)
1126

1227
* bug #54970 [DependencyInjection] Process PHP configs using the ContainerConfigurator (MatTheCat)

src/Symfony/Component/Mailer/Tests/Transport/SendmailTransportTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
use Symfony\Component\Mailer\Exception\TransportException;
1818
use Symfony\Component\Mailer\SentMessage;
1919
use Symfony\Component\Mailer\Transport\SendmailTransport;
20+
use Symfony\Component\Mailer\Transport\Smtp\SmtpTransport;
2021
use Symfony\Component\Mailer\Transport\Smtp\Stream\ProcessStream;
21-
use Symfony\Component\Mailer\Transport\TransportInterface;
2222
use Symfony\Component\Mime\Address;
2323
use Symfony\Component\Mime\Email;
2424
use Symfony\Component\Mime\RawMessage;
@@ -130,7 +130,7 @@ public function testDoesNotThrowWhenInteractive()
130130
$transportProperty->setAccessible(true);
131131

132132
// Replace the transport with an anonymous consumer that trigger the stream methods
133-
$transportProperty->setValue($sendmailTransport, new class($transportProperty->getValue($sendmailTransport)->getStream()) implements TransportInterface {
133+
$transportProperty->setValue($sendmailTransport, new class($transportProperty->getValue($sendmailTransport)->getStream()) extends SmtpTransport {
134134
private $stream;
135135

136136
public function __construct(ProcessStream $stream)

src/Symfony/Component/Mailer/Transport/Smtp/Stream/ProcessStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function setCommand(string $command): void
3131
$this->command = $command;
3232
}
3333

34-
public function setInteractive(bool $interactive)
34+
public function setInteractive(bool $interactive): void
3535
{
3636
$this->interactive = $interactive;
3737
}

0 commit comments

Comments
 (0)