@@ -11,13 +11,13 @@ |
||
| 11 | 11 | { |
| 12 | 12 | protected function setUp() |
| 13 | 13 | { |
| 14 | - if (!extension_loaded('sqlsrv')) { |
|
| 14 | + if ( ! extension_loaded('sqlsrv')) { |
|
| 15 | 15 | self::markTestSkipped('sqlsrv is not installed.'); |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | parent::setUp(); |
| 19 | 19 | |
| 20 | - if (!$this->_conn->getDriver() instanceof Driver) { |
|
| 20 | + if ( ! $this->_conn->getDriver() instanceof Driver) { |
|
| 21 | 21 | self::markTestSkipped('sqlsrv only test'); |
| 22 | 22 | } |
| 23 | 23 | } |
@@ -10,13 +10,13 @@ |
||
| 10 | 10 | { |
| 11 | 11 | protected function setUp() |
| 12 | 12 | { |
| 13 | - if (! extension_loaded('sqlsrv')) { |
|
| 13 | + if ( ! extension_loaded('sqlsrv')) { |
|
| 14 | 14 | $this->markTestSkipped('sqlsrv is not installed.'); |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | parent::setUp(); |
| 18 | 18 | |
| 19 | - if (! $this->_conn->getDriver() instanceof Driver) { |
|
| 19 | + if ( ! $this->_conn->getDriver() instanceof Driver) { |
|
| 20 | 20 | $this->markTestSkipped('sqlsrv only test.'); |
| 21 | 21 | } |
| 22 | 22 | } |
@@ -15,13 +15,13 @@ |
||
| 15 | 15 | { |
| 16 | 16 | protected function setUp() |
| 17 | 17 | { |
| 18 | - if (! extension_loaded('pdo_pgsql')) { |
|
| 18 | + if ( ! extension_loaded('pdo_pgsql')) { |
|
| 19 | 19 | $this->markTestSkipped('pdo_pgsql is not installed.'); |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | parent::setUp(); |
| 23 | 23 | |
| 24 | - if (! $this->_conn->getDriver() instanceof Driver) { |
|
| 24 | + if ( ! $this->_conn->getDriver() instanceof Driver) { |
|
| 25 | 25 | $this->markTestSkipped('pdo_pgsql only test.'); |
| 26 | 26 | } |
| 27 | 27 | } |
@@ -10,13 +10,13 @@ discard block |
||
| 10 | 10 | { |
| 11 | 11 | protected function setUp() |
| 12 | 12 | { |
| 13 | - if (! extension_loaded('sqlanywhere')) { |
|
| 13 | + if ( ! extension_loaded('sqlanywhere')) { |
|
| 14 | 14 | $this->markTestSkipped('sqlanywhere is not installed.'); |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | parent::setUp(); |
| 18 | 18 | |
| 19 | - if (! $this->_conn->getDriver() instanceof Driver) { |
|
| 19 | + if ( ! $this->_conn->getDriver() instanceof Driver) { |
|
| 20 | 20 | $this->markTestSkipped('sqlanywhere only test.'); |
| 21 | 21 | } |
| 22 | 22 | } |
@@ -30,10 +30,10 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | $conn->connect(); |
| 32 | 32 | |
| 33 | - self::assertTrue($conn->isConnected(),'No SQLAnywhere-Connection established'); |
|
| 33 | + self::assertTrue($conn->isConnected(), 'No SQLAnywhere-Connection established'); |
|
| 34 | 34 | |
| 35 | 35 | $prepStmt = $conn->prepare('SELECT 1'); |
| 36 | - self::assertTrue($prepStmt->execute(),' Statement non-persistent failed'); |
|
| 36 | + self::assertTrue($prepStmt->execute(), ' Statement non-persistent failed'); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | public function testPersistentStatement() |
@@ -45,10 +45,10 @@ discard block |
||
| 45 | 45 | |
| 46 | 46 | $conn->connect(); |
| 47 | 47 | |
| 48 | - self::assertTrue($conn->isConnected(),'No SQLAnywhere-Connection established'); |
|
| 48 | + self::assertTrue($conn->isConnected(), 'No SQLAnywhere-Connection established'); |
|
| 49 | 49 | |
| 50 | 50 | $prepStmt = $conn->prepare('SELECT 1'); |
| 51 | - self::assertTrue($prepStmt->execute(),' Statement persistent failed'); |
|
| 51 | + self::assertTrue($prepStmt->execute(), ' Statement persistent failed'); |
|
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | } |
@@ -11,13 +11,13 @@ |
||
| 11 | 11 | { |
| 12 | 12 | protected function setUp() |
| 13 | 13 | { |
| 14 | - if (! extension_loaded('sqlanywhere')) { |
|
| 14 | + if ( ! extension_loaded('sqlanywhere')) { |
|
| 15 | 15 | $this->markTestSkipped('sqlanywhere is not installed.'); |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | parent::setUp(); |
| 19 | 19 | |
| 20 | - if (! $this->_conn->getDriver() instanceof Driver) { |
|
| 20 | + if ( ! $this->_conn->getDriver() instanceof Driver) { |
|
| 21 | 21 | $this->markTestSkipped('sqlanywhere only test.'); |
| 22 | 22 | } |
| 23 | 23 | } |
@@ -10,13 +10,13 @@ |
||
| 10 | 10 | { |
| 11 | 11 | protected function setUp() |
| 12 | 12 | { |
| 13 | - if (! extension_loaded('pdo_sqlsrv')) { |
|
| 13 | + if ( ! extension_loaded('pdo_sqlsrv')) { |
|
| 14 | 14 | $this->markTestSkipped('pdo_sqlsrv is not installed.'); |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | parent::setUp(); |
| 18 | 18 | |
| 19 | - if (! $this->_conn->getDriver() instanceof Driver) { |
|
| 19 | + if ( ! $this->_conn->getDriver() instanceof Driver) { |
|
| 20 | 20 | $this->markTestSkipped('pdo_sqlsrv only test.'); |
| 21 | 21 | } |
| 22 | 22 | } |
@@ -10,13 +10,13 @@ |
||
| 10 | 10 | { |
| 11 | 11 | protected function setUp() |
| 12 | 12 | { |
| 13 | - if (! extension_loaded('pdo_sqlite')) { |
|
| 13 | + if ( ! extension_loaded('pdo_sqlite')) { |
|
| 14 | 14 | $this->markTestSkipped('pdo_sqlite is not installed.'); |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | parent::setUp(); |
| 18 | 18 | |
| 19 | - if (! $this->_conn->getDriver() instanceof Driver) { |
|
| 19 | + if ( ! $this->_conn->getDriver() instanceof Driver) { |
|
| 20 | 20 | $this->markTestSkipped('pdo_sqlite only test.'); |
| 21 | 21 | } |
| 22 | 22 | } |
@@ -10,13 +10,13 @@ |
||
| 10 | 10 | { |
| 11 | 11 | protected function setUp() |
| 12 | 12 | { |
| 13 | - if (! extension_loaded('ibm_db2')) { |
|
| 13 | + if ( ! extension_loaded('ibm_db2')) { |
|
| 14 | 14 | $this->markTestSkipped('ibm_db2 is not installed.'); |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | parent::setUp(); |
| 18 | 18 | |
| 19 | - if (! $this->_conn->getDriver() instanceof DB2Driver) { |
|
| 19 | + if ( ! $this->_conn->getDriver() instanceof DB2Driver) { |
|
| 20 | 20 | $this->markTestSkipped('ibm_db2 only test.'); |
| 21 | 21 | } |
| 22 | 22 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Doctrine\Tests\DBAL\Functional\Driver\IBMDB2; |
| 6 | 6 | |