Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Feb 5, 2024
1 parent d155275 commit 8522669
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/Query/DbTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,4 @@ public function assertDqlProducesSql($actualDql, $expectedSql, $params = []): vo

$this->assertEquals($expectedSql, $actualSql);
}

public static function ormVersionCompare(string $version): int
{
if (class_exists('\Doctrine\ORM\Version')) {
return Version::compare($version);
}

$installedVersion = InstalledVersions::getVersion('doctrine/orm');

return version_compare($installedVersion, $version);
}
}

0 comments on commit 8522669

Please sign in to comment.