Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/fulltextsearch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-07-14 19:33:58 +0300
committerMaxence Lange <maxence@artificial-owl.com>2019-07-14 19:33:58 +0300
commite9227bcddaaf29b3e8ddf97169be4920d594e13b (patch)
treeda36b4414f52665a4d256c9412b0adda7c9ecfed
parentfed34943cf4e2f7e4a51af9dd86652560e729290 (diff)
pretty design
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r--lib/Command/Check.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Command/Check.php b/lib/Command/Check.php
index 8d7af2f..bd856b8 100644
--- a/lib/Command/Check.php
+++ b/lib/Command/Check.php
@@ -98,7 +98,7 @@ class Check extends Base {
protected function execute(InputInterface $input, OutputInterface $output) {
if ($input->getOption('json') === true) {
- $output->writeln(json_encode($this->displayAsJson(), JSON_PRETTY_PRINT));
+ $output->writeln(json_encode($this->displayAsJson(), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));
return;
}
@@ -181,7 +181,7 @@ class Check extends Base {
$output->writeln('- Search Platform:');
$output->writeln($platform->getName() . ' ' . $wrapper->getVersion());
- echo json_encode($platform->getConfiguration(), JSON_PRETTY_PRINT);
+ echo json_encode($platform->getConfiguration(), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
$output->writeln(' ');
$output->writeln(' ');
@@ -207,7 +207,7 @@ class Check extends Base {
foreach ($providers as $providerWrapper) {
$provider = $providerWrapper->getProvider();
$output->writeln($provider->getName() . ' ' . $providerWrapper->getVersion());
- echo json_encode($provider->getConfiguration(), JSON_PRETTY_PRINT);
+ echo json_encode($provider->getConfiguration(), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);
$output->writeln('');
}