Skip to content

Commit

Permalink
[WIP] Add return type hint and sort use pdo
Browse files Browse the repository at this point in the history
  • Loading branch information
otazniksk committed Jun 18, 2019
1 parent 7137460 commit 2b2e51b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/Doctrine/Tests/DBAL/ConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
use Doctrine\DBAL\VersionAwarePlatformDriver;
use Doctrine\Tests\DbalTestCase;
use Exception;
use PDO;
use PHPUnit\Framework\MockObject\MockObject;
use stdClass;
use PDO;
use function call_user_func_array;

/**
Expand Down Expand Up @@ -301,7 +301,7 @@ public function testCommitStartsTransactionInNoAutoCommitMode() : void
/**
* @group DBAL-81
*/
public function testCommitReturnTrue()
public function testCommitReturnTrue() : void
{
$driverMock = $this->createMock(Driver::class);
$driverMock->expects($this->any())
Expand All @@ -324,7 +324,7 @@ public function testCommitReturnTrue()
/**
* @group DBAL-81
*/
public function testCommitReturnFalse()
public function testCommitReturnFalse() : void
{
$driverMock = $this->createMock(Driver::class);
$driverMock->expects($this->any())
Expand All @@ -347,7 +347,7 @@ public function testCommitReturnFalse()
/**
* @group DBAL-81
*/
public function testRollackReturnTrue()
public function testRollackReturnTrue() : void
{
$driverMock = $this->createMock(Driver::class);
$driverMock->expects($this->any())
Expand All @@ -370,7 +370,7 @@ public function testRollackReturnTrue()
/**
* @group DBAL-81
*/
public function testRollackReturnFalse()
public function testRollackReturnFalse() : void
{
$driverMock = $this->createMock(Driver::class);
$driverMock->expects($this->any())
Expand All @@ -390,7 +390,6 @@ public function testRollackReturnFalse()
self::assertFalse($conn->rollback());
}


/**
* @group DBAL-81
*/
Expand Down

0 comments on commit 2b2e51b

Please sign in to comment.