Completed
Push — symfony-console ( bab453...575c8e )
by Arnaud
02:04
created
src/Command/Command.php 2 patches
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.
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,6 @@
 block discarded – undo
88 88
      *
89 89
      * @param OutputInterface $output
90 90
      * @param array           $config
91
-     * @param array           $options
92 91
      *
93 92
      * @return Builder
94 93
      */
Please login to merge, or discard this patch.
src/Command/CommandNewSite.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -47,15 +47,15 @@
 block discarded – undo
47 47
                     exit(0);
48 48
                 }
49 49
             }*/
50
-            $root = __DIR__ . '/../../';
50
+            $root = __DIR__.'/../../';
51 51
             if (Plateform::isPhar()) {
52
-                $root = Plateform::getPharPath() . '/';
52
+                $root = Plateform::getPharPath().'/';
53 53
             }
54 54
             $output->writeln('<info>Creating a new website...</info>');
55
-            $this->fs->copy($root . 'res/skeleton/config.yml', $this->getPath() . '/' . self::CONFIG_FILE, true);
56
-            $this->fs->mirror($root . 'res/skeleton/content', $this->getPath() . '/content');
57
-            $this->fs->mirror($root . 'res/skeleton/layouts', $this->getPath() . '/layouts');
58
-            $this->fs->mirror($root . 'res/skeleton/static', $this->getPath() . '/static');
55
+            $this->fs->copy($root.'res/skeleton/config.yml', $this->getPath().'/'.self::CONFIG_FILE, true);
56
+            $this->fs->mirror($root.'res/skeleton/content', $this->getPath().'/content');
57
+            $this->fs->mirror($root.'res/skeleton/layouts', $this->getPath().'/layouts');
58
+            $this->fs->mirror($root.'res/skeleton/static', $this->getPath().'/static');
59 59
             $output->writeln('Done!');
60 60
         } catch (\Exception $e) {
61 61
             throw new \Exception(sprintf($e->getMessage()));
Please login to merge, or discard this patch.