Skip to content

Commit 5c66fcc

Browse files
minor symfony#59798 [DoctrineBridge] Fix deprecation with doctrine/dbal ^4.3 (alexandre-daubois)
This PR was merged into the 6.4 branch. Discussion ---------- [DoctrineBridge] Fix deprecation with `doctrine/dbal` ^4.3 | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT Fixes deprecations raised by doctrine/dbal#6787. Commits ------- b1d5de5 [DoctrineBridge] Fix deprecation with `doctrine/dbal` ^4.3
2 parents 6caa25d + b1d5de5 commit 5c66fcc

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)