@@ -498,7 +498,7 @@ discard block  | 
                                                    ||
| 498 | 498 | $this->createMigrationTable();  | 
                                                        
| 499 | 499 | |
| 500 | 500 | $version = $this->connection->fetchColumn(  | 
                                                        
| 501 | - "SELECT " . $this->migrationsColumnName . " FROM " . $this->migrationsTableName . " WHERE " . $this->migrationsColumnName . " = ?",  | 
                                                        |
| 501 | + "SELECT ".$this->migrationsColumnName." FROM ".$this->migrationsTableName." WHERE ".$this->migrationsColumnName." = ?",  | 
                                                        |
| 502 | 502 | [$version->getVersion()]  | 
                                                        
| 503 | 503 | );  | 
                                                        
| 504 | 504 | |
@@ -514,7 +514,7 @@ discard block  | 
                                                    ||
| 514 | 514 |      { | 
                                                        
| 515 | 515 | $this->createMigrationTable();  | 
                                                        
| 516 | 516 | |
| 517 | -        $ret = $this->connection->fetchAll("SELECT " . $this->migrationsColumnName . " FROM " . $this->migrationsTableName); | 
                                                        |
| 517 | +        $ret = $this->connection->fetchAll("SELECT ".$this->migrationsColumnName." FROM ".$this->migrationsTableName); | 
                                                        |
| 518 | 518 | |
| 519 | 519 |          return array_map('current', $ret); | 
                                                        
| 520 | 520 | }  | 
                                                        
@@ -558,7 +558,7 @@ discard block  | 
                                                    ||
| 558 | 558 |              foreach ($this->migrations as $migration) { | 
                                                        
| 559 | 559 |                  $migratedVersions[] = sprintf("'%s'", $migration->getVersion()); | 
                                                        
| 560 | 560 | }  | 
                                                        
| 561 | -            $where = " WHERE " . $this->migrationsColumnName . " IN (" . implode(', ', $migratedVersions) . ")"; | 
                                                        |
| 561 | +            $where = " WHERE ".$this->migrationsColumnName." IN (".implode(', ', $migratedVersions).")"; | 
                                                        |
| 562 | 562 | }  | 
                                                        
| 563 | 563 | |
| 564 | 564 |          $sql = sprintf("SELECT %s FROM %s%s ORDER BY %s DESC", | 
                                                        
@@ -608,7 +608,7 @@ discard block  | 
                                                    ||
| 608 | 608 | |
| 609 | 609 |          $versions = array_map('strval', array_keys($this->migrations)); | 
                                                        
| 610 | 610 | array_unshift($versions, '0');  | 
                                                        
| 611 | - $offset = array_search((string)$version, $versions);  | 
                                                        |
| 611 | + $offset = array_search((string) $version, $versions);  | 
                                                        |
| 612 | 612 |          if ($offset === false || !isset($versions[$offset + $delta])) { | 
                                                        
| 613 | 613 | // Unknown version or delta out of bounds.  | 
                                                        
| 614 | 614 | return null;  | 
                                                        
@@ -664,7 +664,7 @@ discard block  | 
                                                    ||
| 664 | 664 |      { | 
                                                        
| 665 | 665 | $this->createMigrationTable();  | 
                                                        
| 666 | 666 | |
| 667 | -        $result = $this->connection->fetchColumn("SELECT COUNT(" . $this->migrationsColumnName . ") FROM " . $this->migrationsTableName); | 
                                                        |
| 667 | +        $result = $this->connection->fetchColumn("SELECT COUNT(".$this->migrationsColumnName.") FROM ".$this->migrationsTableName); | 
                                                        |
| 668 | 668 | |
| 669 | 669 | return $result !== false ? $result : 0;  | 
                                                        
| 670 | 670 | }  | 
                                                        
@@ -808,7 +808,7 @@ discard block  | 
                                                    ||
| 808 | 808 | * @param DateTimeInterface|null $now Defaults to the current time in UTC  | 
                                                        
| 809 | 809 | * @return string The newly generated version  | 
                                                        
| 810 | 810 | */  | 
                                                        
| 811 | - public function generateVersionNumber(\DateTimeInterface $now=null)  | 
                                                        |
| 811 | + public function generateVersionNumber(\DateTimeInterface $now = null)  | 
                                                        |
| 812 | 812 |      { | 
                                                        
| 813 | 813 |          $now = $now ?: new \DateTime('now', new \DateTimeZone('UTC')); | 
                                                        
| 814 | 814 | |
@@ -863,7 +863,7 @@ discard block  | 
                                                    ||
| 863 | 863 | */  | 
                                                        
| 864 | 864 | private function ensureMigrationClassExists($class)  | 
                                                        
| 865 | 865 |      { | 
                                                        
| 866 | -        if ( ! class_exists($class)) { | 
                                                        |
| 866 | +        if (!class_exists($class)) { | 
                                                        |
| 867 | 867 | throw MigrationException::migrationClassNotFound($class, $this->getMigrationsNamespace());  | 
                                                        
| 868 | 868 | }  | 
                                                        
| 869 | 869 | }  |