@@ -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 | { |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | foreach ($dataGroup as $row) |
271 | 271 | { |
272 | 272 | $exploded = explode('.', $row['name']); |
273 | - $version = $exploded[0] . '.' . (isset($exploded[1]) ? $exploded[1] : '0'); |
|
273 | + $version = $exploded[0].'.'.(isset($exploded[1]) ? $exploded[1] : '0'); |
|
274 | 274 | |
275 | 275 | // If the container does not exist, add it |
276 | 276 | if (!isset($counts[$version])) |
@@ -356,7 +356,7 @@ discard block |
||
356 | 356 | |
357 | 357 | foreach ($items as $item) |
358 | 358 | { |
359 | - $data[$this->source][$item['cms_version'] . ':' . $item['php_version']]= $item['count']; |
|
359 | + $data[$this->source][$item['cms_version'].':'.$item['php_version']] = $item['count']; |
|
360 | 360 | $this->totalItems += $item['count']; |
361 | 361 | } |
362 | 362 |