diff --git a/framework/core/src/Foundation/Console/InfoCommand.php b/framework/core/src/Foundation/Console/InfoCommand.php
index 3ecc85b6e..520cbc1d0 100644
--- a/framework/core/src/Foundation/Console/InfoCommand.php
+++ b/framework/core/src/Foundation/Console/InfoCommand.php
@@ -57,12 +57,12 @@ class InfoCommand extends AbstractCommand
protected function fire()
{
$coreVersion = $this->findPackageVersion(__DIR__.'/../../../', Application::VERSION);
- $this->info("Flarum core $coreVersion");
+ $this->output->writeln("Flarum core $coreVersion");
- $this->info('PHP '.PHP_VERSION);
+ $this->output->writeln('PHP version: '.PHP_VERSION);
$phpExtensions = implode(', ', get_loaded_extensions());
- $this->info("Loaded extensions: $phpExtensions");
+ $this->output->writeln("Loaded extensions: $phpExtensions");
$table = new Table($this->output);
$table->setHeaders([
@@ -76,8 +76,7 @@ class InfoCommand extends AbstractCommand
]
])->setStyle(
(new TableStyle())
- ->setCellRowFormat('%s')
- ->setBorderFormat('%s')
+ ->setCellHeaderFormat('%s')
);
foreach ($this->extensions->getEnabledExtensions() as $extension) {
@@ -95,9 +94,9 @@ class InfoCommand extends AbstractCommand
$table->render();
- $this->info('Base URL: '.$this->config['url']);
- $this->info('Installation path: '.getcwd());
- $this->info('Debug mode '.($this->config['debug'] ? 'ON' : 'off'));
+ $this->output->writeln('Base URL: '.$this->config['url']);
+ $this->output->writeln('Installation path: '.getcwd());
+ $this->output->writeln('Debug mode: '.($this->config['debug'] ? 'ON' : 'off'));
if ($this->config['debug']) {
$this->error(