Skip to content

Commit

Permalink
Remove redundant @throws annotations from test methods
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Sep 4, 2020
1 parent a2ec3ab commit c115e9f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -469,9 +469,6 @@ public function testModifyLimitQueryWithAggregateFunctionInOrderByClause(): void
$this->expectCteWithMaxRowNum($alteredSql, 1, $sql);
}

/**
* @throws DBALException
*/
public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromBaseTable(): void
{
$querySql = 'SELECT DISTINCT id_0, name_1 '
Expand All @@ -493,9 +490,6 @@ public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromBas
$this->expectCteWithMaxRowNum($alteredSql, 5, $sql);
}

/**
* @throws DBALException
*/
public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromJoinTable(): void
{
$querySql = 'SELECT DISTINCT id_0, name_1 '
Expand All @@ -517,9 +511,6 @@ public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromJoi
$this->expectCteWithMaxRowNum($alteredSql, 5, $sql);
}

/**
* @throws DBALException
*/
public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnsFromBothTables(): void
{
$querySql = 'SELECT DISTINCT id_0, name_1, foo_2 '
Expand Down
10 changes: 0 additions & 10 deletions tests/Doctrine/Tests/DBAL/Platforms/SQLServer2012PlatformTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Doctrine\Tests\DBAL\Platforms;

use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Platforms\SQLServer2012Platform;
use Doctrine\DBAL\Schema\Sequence;
Expand Down Expand Up @@ -370,9 +369,6 @@ public function testModifyLimitQueryWithComplexOrderByExpression(): void
self::assertEquals($sql, $expected);
}

/**
* @throws DBALException
*/
public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromBaseTable(): void
{
$querySql = 'SELECT DISTINCT id_0, name_1 '
Expand All @@ -393,9 +389,6 @@ public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromBas
self::assertEquals($alteredSql, $sql);
}

/**
* @throws DBALException
*/
public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromJoinTable(): void
{
$querySql = 'SELECT DISTINCT id_0, name_1 '
Expand All @@ -416,9 +409,6 @@ public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnFromJoi
self::assertEquals($alteredSql, $sql);
}

/**
* @throws DBALException
*/
public function testModifyLimitSubqueryWithJoinAndSubqueryOrderedByColumnsFromBothTables(): void
{
$querySql = 'SELECT DISTINCT id_0, name_1, foo_2 '
Expand Down

0 comments on commit c115e9f

Please sign in to comment.