Completed
Pull Request — master (#40)
by
unknown
02:02
created
src/Commands/InstallCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 		{
Please login to merge, or discard this patch.
src/Views/Stats/StatsJsonView.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
 					foreach ($dataGroup as $row)
269 269
 					{
270 270
 						$exploded = explode('.', $row['name']);
271
-						$version  = $exploded[0] . '.' . (isset($exploded[1]) ? $exploded[1] : '0');
271
+						$version  = $exploded[0].'.'.(isset($exploded[1]) ? $exploded[1] : '0');
272 272
 
273 273
 						// If the container does not exist, add it
274 274
 						if (!isset($counts[$version]))
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
 
353 353
 		foreach ($items as $item)
354 354
 		{
355
-			$data[$this->source][$item['cms_version']][$item['php_version']]= $item['count'];
355
+			$data[$this->source][$item['cms_version']][$item['php_version']] = $item['count'];
356 356
 			$this->totalItems += $item['count'];
357 357
 		}
358 358
 
Please login to merge, or discard this patch.