Test Failed
Branch fixes (39eb20)
by Fabian
08:05
created
src/Generator/RecursiveNamespaceResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
         $directory = new DirectoryIterator($path);
101 101
         $items     = [];
102 102
         foreach ($directory as $item) {
103
-            if (! $item->isDot()) {
103
+            if (!$item->isDot()) {
104 104
                 $items[] = clone $item;
105 105
             }
106 106
         }
Please login to merge, or discard this patch.
src/Generator/RecursiveParentExceptionResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
         $directory = new DirectoryIterator($path);
90 90
         $items     = [];
91 91
         foreach ($directory as $item) {
92
-            if (! $item->isDot()) {
92
+            if (!$item->isDot()) {
93 93
                 $items[] = clone $item;
94 94
             }
95 95
         }
Please login to merge, or discard this patch.
src/Generator/CreateException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
         //create the dir for exception classes if not already exists
46 46
         $path .= '/';
47
-        if (! is_dir($path)) {
47
+        if (!is_dir($path)) {
48 48
             mkdir($path);
49 49
         }
50 50
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         $fileExists = is_file($fileName);
93 93
 
94 94
         // if user has set overwrite argument or file doesnt already exists return early
95
-        if ($this->overwrite || ! $fileExists) {
95
+        if ($this->overwrite || !$fileExists) {
96 96
             return true;
97 97
         }
98 98
 
Please login to merge, or discard this patch.
src/Resolver/NamespaceResolver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     public function resolve(string $path, array $loopedDirectories): string|false
36 36
     {
37
-        if (! is_readable($path)) {
37
+        if (!is_readable($path)) {
38 38
             throw new RuntimeException('PHP file "' . $path . '" isn\'t readable');
39 39
         }
40 40
 
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
             if ($lookForToken && $validToken) {
71 71
                 $namespace .= $token[1];
72
-            } elseif ($lookForToken && ! $validToken) {
72
+            } elseif ($lookForToken && !$validToken) {
73 73
                 $namespace = false;
74 74
                 break;
75 75
             }
Please login to merge, or discard this patch.
src/Cli/Command/ExceptionGeneratorCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
             $path = getcwd();
74 74
         }
75 75
 
76
-        if (! is_string($path)) {
76
+        if (!is_string($path)) {
77 77
             $path = '';
78 78
         }
79 79
 
Please login to merge, or discard this patch.