From 2b2e51bd68493a2c8e9bb1d3860e1f8d54e4a7b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0kop?= Date: Tue, 18 Jun 2019 12:30:37 +0200 Subject: [PATCH] [WIP] Add return type hint and sort use pdo --- tests/Doctrine/Tests/DBAL/ConnectionTest.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/Doctrine/Tests/DBAL/ConnectionTest.php b/tests/Doctrine/Tests/DBAL/ConnectionTest.php index 280f8d14c36..b0067b4e331 100644 --- a/tests/Doctrine/Tests/DBAL/ConnectionTest.php +++ b/tests/Doctrine/Tests/DBAL/ConnectionTest.php @@ -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; /** @@ -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()) @@ -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()) @@ -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()) @@ -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()) @@ -390,7 +390,6 @@ public function testRollackReturnFalse() self::assertFalse($conn->rollback()); } - /** * @group DBAL-81 */