Completed
Push — symfony-console ( ba034b...ca7e60 )
by Arnaud
02:01
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   +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.
src/Command/CommandNewPage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,8 @@
 block discarded – undo
53 53
                 $this->name = substr($this->name, 0, $extPos);
54 54
             }
55 55
             // path
56
-            $fileRelativePath = $this->getBuilder($output)->getConfig()->get('content.dir') . '/' . $this->name . '.md';
57
-            $filePath = $this->getPath() . '/' . $fileRelativePath;
56
+            $fileRelativePath = $this->getBuilder($output)->getConfig()->get('content.dir').'/'.$this->name.'.md';
57
+            $filePath = $this->getPath().'/'.$fileRelativePath;
58 58
 
59 59
             // file already exists?
60 60
             if ($this->fs->exists($filePath) && !$this->force) {
Please login to merge, or discard this patch.