@@ -33,9 +33,9 @@ discard block |
||
33 | 33 | if ($driver !== null) { |
34 | 34 | $driver = $this->resolveDriverName($driver); |
35 | 35 | if (!class_exists($driver) || !is_a($driver, BasicDriver::class, true)) { |
36 | - throw new \InvalidArgumentException('Class "' . $driver . '" not found or not in BasicDriver children'); |
|
36 | + throw new \InvalidArgumentException('Class "'.$driver.'" not found or not in BasicDriver children'); |
|
37 | 37 | } |
38 | - $output->writeln('Supported formats by <info>' . $driver . '</info>'); |
|
38 | + $output->writeln('Supported formats by <info>'.$driver.'</info>'); |
|
39 | 39 | |
40 | 40 | $table->setHeaders(['format', ...array_keys(self::$abilitiesLabels)]); |
41 | 41 | foreach ($driver::getSupportedFormats() as $i => $format) { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | $table->render(); |
87 | 87 | |
88 | 88 | foreach (array_combine(array_values(self::$abilitiesShortCuts), array_keys(self::$abilitiesLabels)) as $shortCut => $label) { |
89 | - $output->writeln('<info>' . $shortCut . '</info> - ' . $label); |
|
89 | + $output->writeln('<info>'.$shortCut.'</info> - '.$label); |
|
90 | 90 | } |
91 | 91 | |
92 | 92 | return 0; |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | if ($typeDriverConfig[1]) { |
64 | 64 | // $type_messages[] = '<info>' . $typeDriverClass . '</info>: ' . $typeDriverConfig[0]; |
65 | 65 | $table->setRow($i++, [ |
66 | - '<info>' . $this->getDriverBaseName($typeDriverClass) . '</info>', |
|
66 | + '<info>'.$this->getDriverBaseName($typeDriverClass).'</info>', |
|
67 | 67 | BasicDriver::$typeLabels[$typeDriverClass::TYPE], |
68 | 68 | $typeDriverConfig[0], |
69 | 69 | ]); |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | // $type_messages[] = '<error>' . $typeDriverClass . '</error>: ' . $typeDriverConfig[0]; |
72 | 72 | // $type_messages[] = $this->formatInstallation($typeDriverConfig[2], 4); |
73 | 73 | $table->setRow($i++, [ |
74 | - '<comment>' . $this->getDriverBaseName($typeDriverClass) . '</comment>', |
|
74 | + '<comment>'.$this->getDriverBaseName($typeDriverClass).'</comment>', |
|
75 | 75 | BasicDriver::$typeLabels[$typeDriverClass::TYPE], |
76 | 76 | $this->formatInstallation($typeDriverConfig[2], 0), |
77 | 77 | ]); |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | protected function formatInstallation($doc, $leftPadding = 4) |
95 | 95 | { |
96 | 96 | return implode("\n", array_map( |
97 | - function($line) use ($leftPadding) { return str_repeat(' ', $leftPadding) . $line; }, |
|
97 | + function($line) use ($leftPadding) { return str_repeat(' ', $leftPadding).$line; }, |
|
98 | 98 | explode( |
99 | 99 | "\n", |
100 | 100 | preg_replace('~`(.+?)`~', '<options=bold,underscore>$1</>', $doc) |