Completed
Push — symfony-console ( fae830...4c1503 )
by Arnaud
04:19 queued 02:22
created
src/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
          * Apply environment variables.
79 79
          */
80 80
         $data = $this->getData();
81
-        $applyEnv = function ($array) use ($data) {
81
+        $applyEnv = function($array) use ($data) {
82 82
             $iterator = new \RecursiveIteratorIterator(
83 83
                 new \RecursiveArrayIterator($array),
84 84
                 \RecursiveIteratorIterator::SELF_FIRST
Please login to merge, or discard this patch.
src/Generator/Pagination.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         }
28 28
 
29 29
         // filter pages: home, sections and terms
30
-        $filteredPages = $this->pagesCollection->filter(function (Page $page) {
30
+        $filteredPages = $this->pagesCollection->filter(function(Page $page) {
31 31
             return in_array($page->getType(), [Type::HOMEPAGE, Type::SECTION, Type::TERM]);
32 32
         });
33 33
         /* @var $page Page */
Please login to merge, or discard this patch.
src/Command/Command.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
             }
58 58
             $this->path = realpath($this->getPath());
59 59
             $this->path = str_replace(DIRECTORY_SEPARATOR, '/', $this->getPath());
60
-            if (!file_exists($this->getPath() . '/' . self::CONFIG_FILE)) {
60
+            if (!file_exists($this->getPath().'/'.self::CONFIG_FILE)) {
61 61
                 $message = sprintf('Cecil could not find "%s" file in "%s"', self::CONFIG_FILE, $this->getPath());
62 62
 
63 63
                 throw new \InvalidArgumentException($message);
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
      */
179 179
     public function messageCallback(OutputInterface $output)
180 180
     {
181
-        return function ($code, $message = '', $itemsCount = 0, $itemsMax = 0) use ($output) {
181
+        return function($code, $message = '', $itemsCount = 0, $itemsMax = 0) use ($output) {
182 182
             if ($this->quiet) {
183 183
                 return;
184 184
             } else {
Please login to merge, or discard this patch.