@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | ->out('1) Yes') |
| 78 | 78 | ->out('2) No') |
| 79 | 79 | ->out() |
| 80 | - ->out('<question>' . g11n3t('Select:') . '</question>', false); |
|
| 80 | + ->out('<question>'.g11n3t('Select:').'</question>', false); |
|
| 81 | 81 | |
| 82 | 82 | $in = trim($this->getApplication()->in()); |
| 83 | 83 | |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | $this->getApplication()->out('No database found.') |
| 100 | 100 | ->out('Creating the database...', false); |
| 101 | 101 | |
| 102 | - $this->db->setQuery('CREATE DATABASE ' . $this->db->quoteName($this->getApplication()->get('database.name'))) |
|
| 102 | + $this->db->setQuery('CREATE DATABASE '.$this->db->quoteName($this->getApplication()->get('database.name'))) |
|
| 103 | 103 | ->execute(); |
| 104 | 104 | |
| 105 | 105 | $this->db->select($this->getApplication()->get('database.name')); |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | */ |
| 163 | 163 | private function processSql() : InstallCommand |
| 164 | 164 | { |
| 165 | - $fName = APPROOT . '/etc/mysql.sql'; |
|
| 165 | + $fName = APPROOT.'/etc/mysql.sql'; |
|
| 166 | 166 | |
| 167 | 167 | if (!file_exists($fName)) |
| 168 | 168 | { |
@@ -101,17 +101,17 @@ |
||
| 101 | 101 | $explodedVersion = explode('.', $version); |
| 102 | 102 | |
| 103 | 103 | $nextPatch = $explodedVersion[2] + 1; |
| 104 | - $versions[] = $explodedVersion[0] . '.' . $explodedVersion[1] . '.' . $nextPatch; |
|
| 104 | + $versions[] = $explodedVersion[0].'.'.$explodedVersion[1].'.'.$nextPatch; |
|
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | // Use $branch from the previous loop to allow the next minor version (PHP's master branch) |
| 108 | 108 | $explodedVersion = explode('.', $branch); |
| 109 | 109 | |
| 110 | 110 | $nextMinor = $explodedVersion[1] + 1; |
| 111 | - $versions[] = $explodedVersion[0] . '.' . $nextMinor . '.0'; |
|
| 111 | + $versions[] = $explodedVersion[0].'.'.$nextMinor.'.0'; |
|
| 112 | 112 | |
| 113 | 113 | // Store the version data now |
| 114 | - $path = APPROOT . '/versions/php.json'; |
|
| 114 | + $path = APPROOT.'/versions/php.json'; |
|
| 115 | 115 | |
| 116 | 116 | if (file_put_contents($path, json_encode($versions)) === false) |
| 117 | 117 | { |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | return $db->setQuery( |
| 59 | 59 | $query |
| 60 | 60 | ->select('*') |
| 61 | - ->from($db->quoteName('#__jstats_counter_' . $column)) |
|
| 61 | + ->from($db->quoteName('#__jstats_counter_'.$column)) |
|
| 62 | 62 | )->loadAssocList(); |
| 63 | 63 | } |
| 64 | 64 | |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | $return[$column] = $db->setQuery( |
| 76 | 76 | $query->clear() |
| 77 | 77 | ->select('*') |
| 78 | - ->from($db->quoteName('#__jstats_counter_' . $column)) |
|
| 78 | + ->from($db->quoteName('#__jstats_counter_'.$column)) |
|
| 79 | 79 | )->loadAssocList(); |
| 80 | 80 | } |
| 81 | 81 | |