Completed
Push — symfony-console ( 0edce8...26a640 )
by Arnaud
01:53
created
src/Command/Command.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      */
89 89
     public function messageCallback(OutputInterface $output)
90 90
     {
91
-        return function ($code, $message = '', $itemsCount = 0, $itemsMax = 0) use ($output) {
91
+        return function($code, $message = '', $itemsCount = 0, $itemsMax = 0) use ($output) {
92 92
             if ($this->quiet) {
93 93
                 return;
94 94
             } else {
Please login to merge, or discard this patch.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,6 @@
 block discarded – undo
88 88
      *
89 89
      * @param OutputInterface $output
90 90
      * @param array           $config
91
-     * @param array           $options
92 91
      *
93 92
      * @return Builder
94 93
      */
Please login to merge, or discard this patch.
src/Command/CommandServe.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -143,6 +143,9 @@
 block discarded – undo
143 143
         return 0;
144 144
     }
145 145
 
146
+    /**
147
+     * @param OutputInterface $output
148
+     */
146 149
     private function setUpServer($output)
147 150
     {
148 151
         try {
Please login to merge, or discard this patch.
src/Command/CommandShowConfig.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,13 +59,13 @@
 block discarded – undo
59 59
             $column += 2;
60 60
             foreach ($array as $key => $val) {
61 61
                 if (is_array($val)) {
62
-                    $output .= str_repeat(' ', $column) . "$key:\n" . $this->printArray($val, $column);
62
+                    $output .= str_repeat(' ', $column)."$key:\n".$this->printArray($val, $column);
63 63
                 }
64 64
                 if (is_string($val) || is_int($val)) {
65
-                    $output .= str_repeat(' ', $column) . "$key: $val\n";
65
+                    $output .= str_repeat(' ', $column)."$key: $val\n";
66 66
                 }
67 67
                 if (is_bool($val)) {
68
-                    $output .= str_repeat(' ', $column) . "$key: " . ($val ? 'true' : 'false') . "\n";
68
+                    $output .= str_repeat(' ', $column)."$key: ".($val ? 'true' : 'false')."\n";
69 69
                 }
70 70
             }
71 71
         }
Please login to merge, or discard this patch.
src/Command/CommandShowContent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
             $output->writeln(sprintf('<info>%s/</info>', $this->contentDir));
52 52
             $pages = $this->getPagesTree($output);
53 53
             //if ($this->getConsole()->isUtf8()) {
54
-                $unicodeTreePrefix = function (RecursiveTreeIterator $tree) {
54
+                $unicodeTreePrefix = function(RecursiveTreeIterator $tree) {
55 55
                     $prefixParts = [
56 56
                         RecursiveTreeIterator::PREFIX_LEFT         => ' ',
57 57
                         RecursiveTreeIterator::PREFIX_MID_HAS_NEXT => '│ ',
Please login to merge, or discard this patch.