Completed
Push — cli-exception ( 53ba33 )
by Arnaud
03:08
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/AbstractCommand.php 3 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
      */
100 100
     public function getPHPoole(array $options = [])
101 101
     {
102
-        $messageCallback = function ($code, $message = '', $itemsCount = 0, $itemsMax = 0, $verbose = true) {
102
+        $messageCallback = function($code, $message = '', $itemsCount = 0, $itemsMax = 0, $verbose = true) {
103 103
             switch (true) {
104 104
                 case $code == 'CREATE'
105 105
                 || $code == 'CONVERT'
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     }
155 155
 
156 156
     /**
157
-     * @param $text
157
+     * @param string $text
158 158
      */
159 159
     public function wlAnnonce($text)
160 160
     {
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
     }
171 171
 
172 172
     /**
173
-     * @param $text
173
+     * @param string $text
174 174
      */
175 175
     public function wlAlert($text)
176 176
     {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
                 $this->phpoole->setSourceDir($this->getPath());
143 143
                 $this->phpoole->setDestinationDir($this->getPath());
144 144
             } catch (ParseException $e) {
145
-                 throw new \Exception(sprintf('Config file parse error: %s', $e->getMessage()));
145
+                    throw new \Exception(sprintf('Config file parse error: %s', $e->getMessage()));
146 146
                 exit(1);
147 147
             } catch (\Exception $e) {
148 148
                 throw new \Exception(sprintf($e->getMessage()));
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.