@@ -120,7 +120,7 @@ discard block  | 
                                                    ||
| 120 | 120 | public function reset($upVersion = null)  | 
                                                        
| 121 | 121 |      { | 
                                                        
| 122 | 122 |          if ($this->_callableProgress) { | 
                                                        
| 123 | - call_user_func_array($this->_callableProgress, ['reset', 0]);  | 
                                                        |
| 123 | + call_user_func_array($this->_callableProgress, [ 'reset', 0 ]);  | 
                                                        |
| 124 | 124 | }  | 
                                                        
| 125 | 125 | $this->getDbCommand()->dropDatabase();  | 
                                                        
| 126 | 126 | $this->getDbCommand()->createDatabase();  | 
                                                        
@@ -170,7 +170,7 @@ discard block  | 
                                                    ||
| 170 | 170 | && file_exists($file = $this->getMigrationSql($currentVersion, $increment))  | 
                                                        
| 171 | 171 |          ) { | 
                                                        
| 172 | 172 |              if ($this->_callableProgress) { | 
                                                        
| 173 | - call_user_func_array($this->_callableProgress, ['migrate', $currentVersion]);  | 
                                                        |
| 173 | + call_user_func_array($this->_callableProgress, [ 'migrate', $currentVersion ]);  | 
                                                        |
| 174 | 174 | }  | 
                                                        
| 175 | 175 | |
| 176 | 176 | $this->getDbCommand()->executeSql(file_get_contents($file));  | 
                                                        
@@ -14,8 +14,8 @@  | 
                                                    ||
| 14 | 14 | public function getExpectedUsersVersion1()  | 
                                                        
| 15 | 15 |      { | 
                                                        
| 16 | 16 | return [  | 
                                                        
| 17 | - ["id" => 1, "name" => 'John Doe', 'createdate' => 'Jan 10 2016 12:00:00:AM'],  | 
                                                        |
| 18 | - ["id" => 2, "name" => 'Jane Doe', 'createdate' => 'Dec 30 2015 12:00:00:AM']  | 
                                                        |
| 17 | + [ "id" => 1, "name" => 'John Doe', 'createdate' => 'Jan 10 2016 12:00:00:AM' ],  | 
                                                        |
| 18 | + [ "id" => 2, "name" => 'Jane Doe', 'createdate' => 'Dec 30 2015 12:00:00:AM' ]  | 
                                                        |
| 19 | 19 | ];  | 
                                                        
| 20 | 20 | }  | 
                                                        
| 21 | 21 | |
@@ -67,16 +67,16 @@ discard block  | 
                                                    ||
| 67 | 67 | protected function getExpectedUsersVersion0()  | 
                                                        
| 68 | 68 |      { | 
                                                        
| 69 | 69 | return [  | 
                                                        
| 70 | - ["id" => 1, "name" => 'John Doe', 'createdate' => '20160110'],  | 
                                                        |
| 71 | - ["id" => 2, "name" => 'Jane Doe', 'createdate' => '20151230']  | 
                                                        |
| 70 | + [ "id" => 1, "name" => 'John Doe', 'createdate' => '20160110' ],  | 
                                                        |
| 71 | + [ "id" => 2, "name" => 'Jane Doe', 'createdate' => '20151230' ]  | 
                                                        |
| 72 | 72 | ];  | 
                                                        
| 73 | 73 | }  | 
                                                        
| 74 | 74 | |
| 75 | 75 | protected function getExpectedUsersVersion1()  | 
                                                        
| 76 | 76 |      { | 
                                                        
| 77 | 77 | return [  | 
                                                        
| 78 | - ["id" => 1, "name" => 'John Doe', 'createdate' => '2016-01-10'],  | 
                                                        |
| 79 | - ["id" => 2, "name" => 'Jane Doe', 'createdate' => '2015-12-30']  | 
                                                        |
| 78 | + [ "id" => 1, "name" => 'John Doe', 'createdate' => '2016-01-10' ],  | 
                                                        |
| 79 | + [ "id" => 2, "name" => 'Jane Doe', 'createdate' => '2015-12-30' ]  | 
                                                        |
| 80 | 80 | ];  | 
                                                        
| 81 | 81 | }  | 
                                                        
| 82 | 82 | |
@@ -90,14 +90,14 @@ discard block  | 
                                                    ||
| 90 | 90 | $this->assertTrue($iterator->hasNext());  | 
                                                        
| 91 | 91 | $row = $iterator->moveNext();  | 
                                                        
| 92 | 92 | $this->assertEquals(  | 
                                                        
| 93 | - $this->getExpectedUsersVersion0()[0],  | 
                                                        |
| 93 | + $this->getExpectedUsersVersion0()[ 0 ],  | 
                                                        |
| 94 | 94 | $row->toArray()  | 
                                                        
| 95 | 95 | );  | 
                                                        
| 96 | 96 | |
| 97 | 97 | $this->assertTrue($iterator->hasNext());  | 
                                                        
| 98 | 98 | $row = $iterator->moveNext();  | 
                                                        
| 99 | 99 | $this->assertEquals(  | 
                                                        
| 100 | - $this->getExpectedUsersVersion0()[1],  | 
                                                        |
| 100 | + $this->getExpectedUsersVersion0()[ 1 ],  | 
                                                        |
| 101 | 101 | $row->toArray()  | 
                                                        
| 102 | 102 | );  | 
                                                        
| 103 | 103 | |
@@ -120,14 +120,14 @@ discard block  | 
                                                    ||
| 120 | 120 | $this->assertTrue($iterator->hasNext());  | 
                                                        
| 121 | 121 | $row = $iterator->moveNext();  | 
                                                        
| 122 | 122 | $this->assertEquals(  | 
                                                        
| 123 | - $this->getExpectedUsersVersion1()[0],  | 
                                                        |
| 123 | + $this->getExpectedUsersVersion1()[ 0 ],  | 
                                                        |
| 124 | 124 | $row->toArray()  | 
                                                        
| 125 | 125 | );  | 
                                                        
| 126 | 126 | |
| 127 | 127 | $this->assertTrue($iterator->hasNext());  | 
                                                        
| 128 | 128 | $row = $iterator->moveNext();  | 
                                                        
| 129 | 129 | $this->assertEquals(  | 
                                                        
| 130 | - $this->getExpectedUsersVersion1()[1],  | 
                                                        |
| 130 | + $this->getExpectedUsersVersion1()[ 1 ],  | 
                                                        |
| 131 | 131 | $row->toArray()  | 
                                                        
| 132 | 132 | );  | 
                                                        
| 133 | 133 | |
@@ -150,14 +150,14 @@ discard block  | 
                                                    ||
| 150 | 150 | $this->assertTrue($iterator->hasNext());  | 
                                                        
| 151 | 151 | $row = $iterator->moveNext();  | 
                                                        
| 152 | 152 | $this->assertEquals(  | 
                                                        
| 153 | - $this->getExpectedUsersVersion1()[0],  | 
                                                        |
| 153 | + $this->getExpectedUsersVersion1()[ 0 ],  | 
                                                        |
| 154 | 154 | $row->toArray()  | 
                                                        
| 155 | 155 | );  | 
                                                        
| 156 | 156 | |
| 157 | 157 | $this->assertTrue($iterator->hasNext());  | 
                                                        
| 158 | 158 | $row = $iterator->moveNext();  | 
                                                        
| 159 | 159 | $this->assertEquals(  | 
                                                        
| 160 | - $this->getExpectedUsersVersion1()[1],  | 
                                                        |
| 160 | + $this->getExpectedUsersVersion1()[ 1 ],  | 
                                                        |
| 161 | 161 | $row->toArray()  | 
                                                        
| 162 | 162 | );  | 
                                                        
| 163 | 163 | |
@@ -40,7 +40,7 @@  | 
                                                    ||
| 40 | 40 | |
| 41 | 41 | public function setVersion($version)  | 
                                                        
| 42 | 42 |      { | 
                                                        
| 43 | -        $this->getDbDriver()->execute('UPDATE migration_version SET version = :version', ['version' => $version]); | 
                                                        |
| 43 | +        $this->getDbDriver()->execute('UPDATE migration_version SET version = :version', [ 'version' => $version ]); | 
                                                        |
| 44 | 44 | }  | 
                                                        
| 45 | 45 | |
| 46 | 46 | protected function checkExistsVersion()  | 
                                                        
@@ -25,7 +25,7 @@  | 
                                                    ||
| 25 | 25 |      { | 
                                                        
| 26 | 26 | $currentDbName = $dbDriver->getScalar(  | 
                                                        
| 27 | 27 | "SELECT datname FROM pg_catalog.pg_database WHERE lower(datname) = lower(:dbname)",  | 
                                                        
| 28 | - ['dbname' => $database]  | 
                                                        |
| 28 | + [ 'dbname' => $database ]  | 
                                                        |
| 29 | 29 | );  | 
                                                        
| 30 | 30 | |
| 31 | 31 |          if (empty($currentDbName)) { |