8000 [DoctrineBridge] Fix deprecation with `doctrine/dbal` ^4.3 · symfony/symfony@b1d5de5 · GitHub
[go: up one dir, main page]

Skip to content

Commit b1d5de5

Browse files
[DoctrineBridge] Fix deprecation with doctrine/dbal ^4.3
1 parent 6caa25d commit b1d5de5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Bridge/Doctrine/Tests/Fixtures/SingleAssociationToIntIdEntity.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@
1414
use Doctrine\ORM\Mapping\Column;
1515
use Doctrine\ORM\Mapping\Entity;
1616
use Doctrine\ORM\Mapping\Id;
17+
use Doctrine\ORM\Mapping\JoinColumn;
1718
use Doctrine\ORM\Mapping\OneToOne;
1819

1920
#[Entity]
2021
class SingleAssociationToIntIdEntity
2122
{
2223
public function __construct(
2324
#[Id, OneToOne(cascade: ['ALL'])]
25+
#[JoinColumn(nullable: false)]
2426
protected SingleIntIdNoToStringEntity $entity,
2527

2628
#[Column(nullable: true)]

0 commit comments

Comments
 (0)
0