Completed
Push — archetype ( c8aa24 )
by Arnaud
01:55
created
src/Command/ListContent/FilenameRecursiveTreeIterator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 class FilenameRecursiveTreeIterator extends RecursiveTreeIterator
21 21
 {
22 22
     /**
23
-     * @return mixed
23
+     * @return string
24 24
      */
25 25
     public function current()
26 26
     {
Please login to merge, or discard this patch.
src/Command/ListContent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
             $this->wlAnnonce(sprintf('%s/', $this->contentDir));
31 31
             $pages = $this->getPagesTree();
32 32
             if ($this->getConsole()->isUtf8()) {
33
-                $unicodeTreePrefix = function (RecursiveTreeIterator $tree) {
33
+                $unicodeTreePrefix = function(RecursiveTreeIterator $tree) {
34 34
                     $prefixParts = [
35 35
                         RecursiveTreeIterator::PREFIX_LEFT         => ' ',
36 36
                         RecursiveTreeIterator::PREFIX_MID_HAS_NEXT => '│ ',
Please login to merge, or discard this patch.
src/Command/AbstractCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
      */
210 210
     public function messageCallback()
211 211
     {
212
-        return function ($code, $message = '', $itemsCount = 0, $itemsMax = 0) {
212
+        return function($code, $message = '', $itemsCount = 0, $itemsMax = 0) {
213 213
             if ($this->quiet) {
214 214
                 return;
215 215
             } else {
Please login to merge, or discard this patch.
src/Command/NewPage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
             $this->fs->dumpFile($filePath, $fileContent);
62 62
             $this->wlDone(sprintf('File "%s" created!', $fileRelativePath));
63 63
             $editor = 'atom';
64
-            passthru (sprintf("%s %s", $editor, $filePath), $return_var);
64
+            passthru(sprintf("%s %s", $editor, $filePath), $return_var);
65 65
         } catch (\Exception $e) {
66 66
             throw new \Exception(sprintf($e->getMessage()));
67 67
         }
Please login to merge, or discard this patch.