Test Setup Failed
Push — develop ( 3e0f74...1b34c6 )
by Paul
01:22
created
src/Executor/FileExecutor.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      */
77 77
     public function invoke(string $sourcePath, string $targetPath, string $name = 'GeneratedTest'): bool
78 78
     {
79
-        if (! $this->fileValidator->validate($sourcePath)) {
79
+        if (!$this->fileValidator->validate($sourcePath)) {
80 80
             return false;
81 81
         }
82 82
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     {
111 111
         $targetPathExists = $this->fileSystem->has($targetPath);
112 112
 
113
-        if ($targetPathExists && ! $this->config->hasOverwrite()) {
113
+        if ($targetPathExists && !$this->config->hasOverwrite()) {
114 114
             throw new ExecutorException(sprintf('The target file "%s" already exists.', $targetPath));
115 115
         }
116 116
 
Please login to merge, or discard this patch.
src/Renderer/PhpFileRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
         // Namespace
59 59
         $namespace = $phpFile->getNamespaceString();
60
-        $this->add(sprintf('namespace Test%s;', ($namespace === null? '' : '\\' . $namespace)))->add();
60
+        $this->add(sprintf('namespace Test%s;', ($namespace === null ? '' : '\\' . $namespace)))->add();
61 61
 
62 62
         // Uses
63 63
         $this->multiple($this->getUseLines($phpFile))->add();
Please login to merge, or discard this patch.