@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | $this->getApplication()->out('No database found.') |
93 | 93 | ->out('Creating the database...', false); |
94 | 94 | |
95 | - $this->db->setQuery('CREATE DATABASE ' . $this->db->quoteName($this->getApplication()->get('database.name'))) |
|
95 | + $this->db->setQuery('CREATE DATABASE '.$this->db->quoteName($this->getApplication()->get('database.name'))) |
|
96 | 96 | ->execute(); |
97 | 97 | |
98 | 98 | $this->db->select($this->getApplication()->get('database.name')); |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | */ |
153 | 153 | private function processSql() : InstallCommand |
154 | 154 | { |
155 | - $fName = APPROOT . '/etc/mysql.sql'; |
|
155 | + $fName = APPROOT.'/etc/mysql.sql'; |
|
156 | 156 | |
157 | 157 | if (!file_exists($fName)) |
158 | 158 | { |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | foreach ($dataGroup as $row) |
265 | 265 | { |
266 | 266 | $exploded = explode('.', $row['name']); |
267 | - $version = $exploded[0] . '.' . (isset($exploded[1]) ? $exploded[1] : '0'); |
|
267 | + $version = $exploded[0].'.'.(isset($exploded[1]) ? $exploded[1] : '0'); |
|
268 | 268 | |
269 | 269 | // If the container does not exist, add it |
270 | 270 | if (!isset($counts[$version])) |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | |
350 | 350 | foreach ($items as $item) |
351 | 351 | { |
352 | - $data[$this->source][$item['db_type']][$item['db_version']]= $item['count']; |
|
352 | + $data[$this->source][$item['db_type']][$item['db_version']] = $item['count']; |
|
353 | 353 | $this->totalItems += $item['count']; |
354 | 354 | } |
355 | 355 |