@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License Version 2 or Later |
7 | 7 | */ |
8 | 8 | |
9 | -require dirname(__DIR__) . '/boot.php'; |
|
9 | +require dirname(__DIR__).'/boot.php'; |
|
10 | 10 | |
11 | 11 | use Joomla\Application\{ |
12 | 12 | AbstractApplication, AbstractWebApplication |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | $container = (new Container) |
25 | 25 | ->registerServiceProvider(new ApplicationServiceProvider) |
26 | 26 | ->registerServiceProvider(new CacheServiceProvider) |
27 | - ->registerServiceProvider(new ConfigServiceProvider(APPROOT . '/etc/config.json')) |
|
27 | + ->registerServiceProvider(new ConfigServiceProvider(APPROOT.'/etc/config.json')) |
|
28 | 28 | ->registerServiceProvider(new DatabaseServiceProvider) |
29 | 29 | ->registerServiceProvider(new GitHubServiceProvider) |
30 | 30 | ->registerServiceProvider(new MonologServiceProvider); |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | |
60 | 60 | $response = [ |
61 | 61 | 'error' => true, |
62 | - 'message' => 'An error occurred while executing the application: ' . $e->getMessage() |
|
62 | + 'message' => 'An error occurred while executing the application: '.$e->getMessage() |
|
63 | 63 | ]; |
64 | 64 | |
65 | 65 | echo json_encode($response); |
@@ -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 | { |