Completed
Push — master ( 6a50c0...c1563b )
by Vladimir
02:57
created
src/Manager/ThemeManager.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
         if (!$this->fs->exists($this->themeFolder))
26 26
         {
27
-            throw new FileNotFoundException("The '${themeName}' theme folder could not be found.'");
27
+            throw new FileNotFoundException("The '${themename}' theme folder could not be found.'");
28 28
         }
29 29
 
30 30
         if ($this->fs->exists($this->themeFile))
Please login to merge, or discard this patch.
src/Manager/FileManager.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,9 @@
 block discarded – undo
37 37
      */
38 38
     protected function copyToCompiledSite ($file, $prefix = "")
39 39
     {
40
-        if (!$this->fs->exists($file)) { return; }
40
+        if (!$this->fs->exists($file))
41
+        {
42
+return; }
41 43
 
42 44
         $filePath = $file->getRealPath();
43 45
         $pathToStrip = $this->fs->appendPath(getcwd(), $prefix);
Please login to merge, or discard this patch.
src/Manager/AssetManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,14 +6,14 @@
 block discarded – undo
6 6
 
7 7
 class AssetManager extends FileManager
8 8
 {
9
-    public function __construct($includes = array(), $excludes = array())
9
+    public function __construct ($includes = array(), $excludes = array())
10 10
     {
11 11
         parent::__construct();
12 12
 
13 13
         $this->finder = $this->fs->getFinder($includes, $excludes);
14 14
     }
15 15
 
16
-    public function copyFiles()
16
+    public function copyFiles ()
17 17
     {
18 18
         /** @var $file SplFileInfo */
19 19
         foreach ($this->finder as $file)
Please login to merge, or discard this patch.
src/Object/Website.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,8 @@
 block discarded – undo
183 183
 
184 184
         $this->output->notice('Watch started successfully');
185 185
 
186
-        $listener->onModify(function ($resource, $path) use ($targetPath) {
186
+        $listener->onModify(function ($resource, $path) use ($targetPath)
187
+        {
187 188
             $filePath = $this->fs->getRelativePath($path);
188 189
 
189 190
             if ((substr($filePath, 0, strlen($targetPath)) === $targetPath) ||
Please login to merge, or discard this patch.