Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1e74e69

Browse filesBrowse files
Merge branch '7.2' into 7.3
* 7.2: [Validator] Fix incorrect assertion in `WhenTest` [DoctrineBridge] Fix deprecation with `doctrine/dbal` ^4.3
2 parents ab6c611 + 267f238 commit 1e74e69
Copy full SHA for 1e74e69

File tree

2 files changed

+3
-1
lines changed
Filter options

2 files changed

+3
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Tests/Fixtures/SingleAssociationToIntIdEntity.php
+2
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)]

‎src/Symfony/Component/Validator/Tests/Constraints/WhenTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Validator/Tests/Constraints/WhenTest.php
+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function testAttributes()
7575

7676
[$barConstraint] = $metadata->properties['bar']->getConstraints();
7777

78-
self::assertInstanceOf(When::class, $fooConstraint);
78+
self::assertInstanceOf(When::class, $barConstraint);
7979
self::assertSame('false', $barConstraint->expression);
8080
self::assertEquals([
8181
new NotNull(groups: ['foo']),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.