From 22df1e858b8b00647c67fc201dfbea65c0fdab15 Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Tue, 18 Feb 2025 09:43:25 +0100 Subject: [PATCH] [DoctrineBridge] Fix deprecation with `doctrine/dbal` ^4.3 --- Tests/Fixtures/SingleAssociationToIntIdEntity.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/Fixtures/SingleAssociationToIntIdEntity.php b/Tests/Fixtures/SingleAssociationToIntIdEntity.php index 94becf73..0373417b 100644 --- a/Tests/Fixtures/SingleAssociationToIntIdEntity.php +++ b/Tests/Fixtures/SingleAssociationToIntIdEntity.php @@ -14,6 +14,7 @@ use Doctrine\ORM\Mapping\Column; use Doctrine\ORM\Mapping\Entity; use Doctrine\ORM\Mapping\Id; +use Doctrine\ORM\Mapping\JoinColumn; use Doctrine\ORM\Mapping\OneToOne; #[Entity] @@ -21,6 +22,7 @@ class SingleAssociationToIntIdEntity { public function __construct( #[Id, OneToOne(cascade: ['ALL'])] + #[JoinColumn(nullable: false)] protected SingleIntIdNoToStringEntity $entity, #[Column(nullable: true)]