Passed
Push — master ( 8a08f6...93ed9d )
by Giuliano
10:36
created
src/Foundation/FileSearch.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,11 +45,11 @@
 block discarded – undo
45 45
     {
46 46
         $items = array_diff(scandir($path), array('.', '..'));
47 47
 
48
-        foreach ($items as $item) { 
48
+        foreach ($items as $item) {
49 49
 
50 50
             $item = "$path/$item";
51 51
 
52
-            if (is_dir($item)) { 
52
+            if (is_dir($item)) {
53 53
                 $this->scan($item, $pattern);
54 54
                 continue;
55 55
             }            
Please login to merge, or discard this patch.
src/Foundation/Template/StubFile.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     {
52 52
         $source = PathSanitizer::sanitize($source);
53 53
 
54
-        if (! is_dir($source)) {
54
+        if (!is_dir($source)) {
55 55
             $err = sprintf('Template folder [%s] not found', $source);
56 56
             throw new \Exception($err);
57 57
         }
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     {
71 71
         $file = $this->getStubFile($name);
72 72
 
73
-        if (! is_file($file)) {
73
+        if (!is_file($file)) {
74 74
             throw new \Exception("Stub file called '{$file}' not found in folder template");
75 75
         }
76 76
 
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     {
103 103
         $name = $name ?? $this->name;
104 104
 
105
-        if (! $name) {
105
+        if (!$name) {
106 106
             throw new \Exception('Stub name bad formatted');
107 107
         }
108 108
 
Please login to merge, or discard this patch.