Skip to content

Commit 4cd015b

Browse files
committed
fix: ignore undefined class
1 parent 56ecf24 commit 4cd015b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Instrumentation/PDO/tests/Integration/PDOInstrumentationTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,12 @@ public function test_pdo_sqlite_subclass(): void
9393
}
9494

9595
$this->assertCount(0, $this->storage);
96-
/** @var Pdo\Sqlite $db */
96+
/**
97+
* Need to suppress because of different casing of the class name
98+
*
99+
* @psalm-suppress UndefinedClass
100+
* @var Pdo\Sqlite $db
101+
*/
97102
$db = self::createDBWithNewSubclass();
98103
$this->assertCount(1, $this->storage);
99104
$span = $this->storage->offsetGet(0);

0 commit comments

Comments
 (0)