Skip to content

Commit 5d2817d

Browse files
committed
[DoctrineBridge] add missing UPGRADE notes for #50689
1 parent 5b66f26 commit 5d2817d

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

UPGRADE-6.3.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
UPGRADE FROM 6.2 to 6.3
22
=======================
33

4+
Cache
5+
-----
6+
7+
* `DoctrineDbalAdapter` now takes an optional `$isSameDatabase` parameter
8+
49
Console
510
-------
611

@@ -22,6 +27,8 @@ DoctrineBridge
2227
* Deprecate `DoctrineDbalCacheAdapterSchemaSubscriber` in favor of `DoctrineDbalCacheAdapterSchemaListener`
2328
* Deprecate `MessengerTransportDoctrineSchemaSubscriber` in favor of `MessengerTransportDoctrineSchemaListener`
2429
* Deprecate `RememberMeTokenProviderDoctrineSchemaSubscriber` in favor of `RememberMeTokenProviderDoctrineSchemaListener`
30+
* `DoctrineTransport` now takes an optional `$isSameDatabase` parameter
31+
* `DoctrineTokenProvider` now takes an optional `$isSameDatabase` parameter
2532

2633
Form
2734
----

src/Symfony/Bridge/Doctrine/Tests/SchemaListener/DoctrineDbalCacheAdapterSchemaListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function testPostGenerateSchema()
3535
$dbalAdapter = $this->createMock(DoctrineDbalAdapter::class);
3636
$dbalAdapter->expects($this->once())
3737
->method('configureSchema')
38-
->with($schema, $dbalConnection);
38+
->with($schema, $dbalConnection, fn () => true);
3939

4040
$subscriber = new DoctrineDbalCacheAdapterSchemaListener([$dbalAdapter]);
4141
$subscriber->postGenerateSchema($event);

src/Symfony/Bridge/Doctrine/Tests/SchemaListener/MessengerTransportDoctrineSchemaListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testPostGenerateSchema()
3838
$doctrineTransport = $this->createMock(DoctrineTransport::class);
3939
$doctrineTransport->expects($this->once())
4040
->method('configureSchema')
41-
->with($schema, $dbalConnection);
41+
->with($schema, $dbalConnection, fn () => true);
4242
$otherTransport = $this->createMock(TransportInterface::class);
4343
$otherTransport->expects($this->never())
4444
->method($this->anything());

src/Symfony/Component/Messenger/Bridge/Doctrine/Tests/Transport/DoctrineTransportTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ public function testConfigureSchema()
6464

6565
$connection->expects($this->once())
6666
->method('configureSchema')
67-
->with($schema, $dbalConnection);
67+
->with($schema, $dbalConnection, static fn () => true);
6868

69-
$transport->configureSchema($schema, $dbalConnection);
69+
$transport->configureSchema($schema, $dbalConnection, static fn () => true);
7070
}
7171

7272
private function getTransport(SerializerInterface $serializer = null, Connection $connection = null): DoctrineTransport

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy