Passed
Push — master ( 125b29...554a92 )
by f
27:06 queued 12:02
created
src/Commands/FormatsCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,9 +33,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Commands/DriversCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.