Skip to content

Commit

Permalink
Replace FQCN with alias
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Oct 11, 2024
1 parent 4751bc9 commit a6708ea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/Platforms/MySQL/ComparatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
use Doctrine\DBAL\Platforms\MySQL\Comparator;
use Doctrine\DBAL\Platforms\MySQL\DefaultTableOptions;
use Doctrine\DBAL\Platforms\MySQLPlatform;
use Doctrine\DBAL\Schema\Comparator as SchemaComparator;
use Doctrine\DBAL\Schema\ComparatorConfig;
use Doctrine\DBAL\Tests\Schema\AbstractComparatorTestCase;

class ComparatorTest extends AbstractComparatorTestCase
{
protected function createComparator(ComparatorConfig $config): \Doctrine\DBAL\Schema\Comparator
protected function createComparator(ComparatorConfig $config): SchemaComparator
{
return new Comparator(
new MySQLPlatform(),
Expand Down
3 changes: 2 additions & 1 deletion tests/Platforms/SQLServer/ComparatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@

use Doctrine\DBAL\Platforms\SQLServer\Comparator;
use Doctrine\DBAL\Platforms\SQLServerPlatform;
use Doctrine\DBAL\Schema\Comparator as SchemaComparator;
use Doctrine\DBAL\Schema\ComparatorConfig;
use Doctrine\DBAL\Tests\Schema\AbstractComparatorTestCase;

class ComparatorTest extends AbstractComparatorTestCase
{
protected function createComparator(ComparatorConfig $config): \Doctrine\DBAL\Schema\Comparator
protected function createComparator(ComparatorConfig $config): SchemaComparator
{
return new Comparator(new SQLServerPlatform(), '', $config);
}
Expand Down
3 changes: 2 additions & 1 deletion tests/Platforms/SQLite/ComparatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@

use Doctrine\DBAL\Platforms\SQLite\Comparator;
use Doctrine\DBAL\Platforms\SQLitePlatform;
use Doctrine\DBAL\Schema\Comparator as SchemaComparator;
use Doctrine\DBAL\Schema\ComparatorConfig;
use Doctrine\DBAL\Tests\Schema\AbstractComparatorTestCase;

class ComparatorTest extends AbstractComparatorTestCase
{
protected function createComparator(ComparatorConfig $config): \Doctrine\DBAL\Schema\Comparator
protected function createComparator(ComparatorConfig $config): SchemaComparator
{
return new Comparator(new SQLitePlatform(), $config);
}
Expand Down

0 comments on commit a6708ea

Please sign in to comment.