We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7602a53 + 8c92903 commit c6207b1Copy full SHA for c6207b1
tests/Doctrine/Tests/ORM/Functional/Ticket/GH12063.php renamed to tests/Doctrine/Tests/ORM/Functional/Ticket/GH12063Test.php
@@ -11,7 +11,7 @@
11
use Doctrine\ORM\Mapping\Id;
12
use Doctrine\Tests\OrmFunctionalTestCase;
13
14
-class GH12063 extends OrmFunctionalTestCase
+class GH12063Test extends OrmFunctionalTestCase
15
{
16
protected function setUp(): void
17
@@ -67,7 +67,7 @@ enum GH12063Code: string
67
class GH12063Association
68
69
#[Id]
70
- #[Column]
+ #[Column(length: 3)]
71
public GH12063Code $code;
72
}
73
@@ -80,6 +80,6 @@ class GH12063Entity
80
public int|null $id = null;
81
82
#[ORM\ManyToOne]
83
- #[ORM\JoinColumn(referencedColumnName: 'code')]
+ #[ORM\JoinColumn(referencedColumnName: 'code', options: ['length' => 3])]
84
public GH12063Association $association;
85
0 commit comments