Skip to content

Commit 7526446

Browse files
hembergerstaabm
andauthored
Expand TypeMapper tests to include mysqli/pgsql (#573)
Co-authored-by: Markus Staab <[email protected]>
1 parent ab5b1cd commit 7526446

10 files changed

+2718
-82
lines changed

.phpstan-dba-mysqli.cache

Lines changed: 514 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.phpstan-dba-pdo-mysql.cache

Lines changed: 32 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/default/DbaInferenceTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ public function dataFileAsserts(): iterable
2727

2828
if ('pdo-pgsql' === getenv('DBA_REFLECTOR')) {
2929
yield from $this->gatherAssertTypes(__DIR__ . '/data/pdo-pgsql.php');
30+
yield from $this->gatherAssertTypes(__DIR__ . '/data/typemix-pgsql.php');
3031
} else {
3132
yield from $this->gatherAssertTypes(__DIR__ . '/data/pdo-mysql.php');
33+
yield from $this->gatherAssertTypes(__DIR__ . '/data/typemix-mysql.php');
3234
}
3335

3436
// DbaApi related tests cannot be replayed, because cache file keys do not reflect the used DbaApi

0 commit comments

Comments
 (0)