@@ -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 | |
@@ -10,13 +10,13 @@ |
||
| 10 | 10 | { |
| 11 | 11 | protected function setUp() |
| 12 | 12 | { |
| 13 | - if (! extension_loaded('pdo_mysql')) { |
|
| 13 | + if ( ! extension_loaded('pdo_mysql')) { |
|
| 14 | 14 | $this->markTestSkipped('pdo_mysql 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_mysql only test.'); |
| 21 | 21 | } |
| 22 | 22 | } |
@@ -16,13 +16,13 @@ |
||
| 16 | 16 | |
| 17 | 17 | protected function setUp() |
| 18 | 18 | { |
| 19 | - if (! extension_loaded('oci8')) { |
|
| 19 | + if ( ! extension_loaded('oci8')) { |
|
| 20 | 20 | $this->markTestSkipped('oci8 is not installed.'); |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | parent::setUp(); |
| 24 | 24 | |
| 25 | - if (! $this->_conn->getDriver() instanceof Driver) { |
|
| 25 | + if ( ! $this->_conn->getDriver() instanceof Driver) { |
|
| 26 | 26 | $this->markTestSkipped('oci8 only test.'); |
| 27 | 27 | } |
| 28 | 28 | |
@@ -10,13 +10,13 @@ |
||
| 10 | 10 | { |
| 11 | 11 | protected function setUp() |
| 12 | 12 | { |
| 13 | - if (! extension_loaded('oci8')) { |
|
| 13 | + if ( ! extension_loaded('oci8')) { |
|
| 14 | 14 | $this->markTestSkipped('oci8 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('oci8 only test.'); |
| 21 | 21 | } |
| 22 | 22 | } |
@@ -55,8 +55,8 @@ |
||
| 55 | 55 | public function getValidCharsets() |
| 56 | 56 | { |
| 57 | 57 | return array( |
| 58 | - array("UTF8"), |
|
| 59 | - array("LATIN1") |
|
| 58 | + array("UTF8"), |
|
| 59 | + array("LATIN1") |
|
| 60 | 60 | ); |
| 61 | 61 | } |
| 62 | 62 | } |
@@ -10,13 +10,13 @@ |
||
| 10 | 10 | { |
| 11 | 11 | protected function setUp() |
| 12 | 12 | { |
| 13 | - if (! extension_loaded('mysqli')) { |
|
| 13 | + if ( ! extension_loaded('mysqli')) { |
|
| 14 | 14 | $this->markTestSkipped('mysqli 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('MySQLi only test.'); |
| 21 | 21 | } |
| 22 | 22 | } |
@@ -50,8 +50,8 @@ |
||
| 50 | 50 | { |
| 51 | 51 | return new \Doctrine\DBAL\Driver\Mysqli\MysqliConnection( |
| 52 | 52 | array( |
| 53 | - 'host' => $GLOBALS['db_host'], |
|
| 54 | - 'dbname' => $GLOBALS['db_name'], |
|
| 53 | + 'host' => $GLOBALS['db_host'], |
|
| 54 | + 'dbname' => $GLOBALS['db_name'], |
|
| 55 | 55 | ), |
| 56 | 56 | $GLOBALS['db_username'], |
| 57 | 57 | $GLOBALS['db_password'], |
@@ -6,13 +6,13 @@ |
||
| 6 | 6 | { |
| 7 | 7 | protected function setUp() |
| 8 | 8 | { |
| 9 | - if (!extension_loaded('mysqli')) { |
|
| 9 | + if ( ! extension_loaded('mysqli')) { |
|
| 10 | 10 | $this->markTestSkipped('mysqli is not installed.'); |
| 11 | 11 | } |
| 12 | 12 | |
| 13 | 13 | parent::setUp(); |
| 14 | 14 | |
| 15 | - if ( !($this->_conn->getDriver() instanceof \Doctrine\DBAL\Driver\Mysqli\Driver)) { |
|
| 15 | + if ( ! ($this->_conn->getDriver() instanceof \Doctrine\DBAL\Driver\Mysqli\Driver)) { |
|
| 16 | 16 | $this->markTestSkipped('MySQLi only test.'); |
| 17 | 17 | } |
| 18 | 18 | } |
@@ -10,13 +10,13 @@ |
||
| 10 | 10 | { |
| 11 | 11 | protected function setUp() |
| 12 | 12 | { |
| 13 | - if (! extension_loaded('PDO_OCI')) { |
|
| 13 | + if ( ! extension_loaded('PDO_OCI')) { |
|
| 14 | 14 | $this->markTestSkipped('PDO_OCI 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_OCI only test.'); |
| 21 | 21 | } |
| 22 | 22 | } |