Skip to content

Commit

Permalink
Fix CI for latest upstream commits.
Browse files Browse the repository at this point in the history
  • Loading branch information
gnutix committed Sep 18, 2023
1 parent 74d7f65 commit 0cbcdda
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -4925,6 +4925,11 @@ parameters:
count: 1
path: tests/Fixtures/Doctrine/Comment.php

-
message: "#^Property JMS\\\\Serializer\\\\Tests\\\\Fixtures\\\\Doctrine\\\\Embeddable\\\\BlogPostSeo\\:\\:\\$metaTitle is unused\\.$#"
count: 1
path: tests/Fixtures/Doctrine/Embeddable/BlogPostSeo.php

-
message: "#^Method JMS\\\\Serializer\\\\Tests\\\\Fixtures\\\\Doctrine\\\\SingleTableInheritance\\\\Clazz\\:\\:__construct\\(\\) has parameter \\$students with no value type specified in iterable type array\\.$#"
count: 1
Expand Down
4 changes: 2 additions & 2 deletions tests/Serializer/Doctrine/ObjectConstructorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public function testNamingForIdentifierColumnIsConsidered()
);
}

public function testFallbackOnEmbeddableClassWithXmlDriver()
public function testFallbackOnEmbeddableClassWithXmlDriver(): void
{
if (ORMVersion::compare('2.5') >= 0) {
$this->markTestSkipped('Not using Doctrine ORM >= 2.5 with Embedded entities');
Expand All @@ -219,7 +219,7 @@ public function testFallbackOnEmbeddableClassWithXmlDriver()
$connection = $this->createConnection();
$entityManager = $this->createXmlEntityManager($connection);

$this->registry = $registry = new SimpleBaseManagerRegistry(
$this->registry = new SimpleBaseManagerRegistry(
static function ($id) use ($connection, $entityManager) {
switch ($id) {
case 'default_connection':
Expand Down

0 comments on commit 0cbcdda

Please sign in to comment.