Completed
Push — cli-exception ( 53ba33 )
by Arnaud
03:08
created
src/Command/AbstractCommand.php 2 patches
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.