Completed
Push — develop ( 53b1d2...e700e7 )
by Paul
03:00
created
src/Model/PhpFileModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     public function getFullNameFor(string $name): string
67 67
     {
68 68
         $namespace = $this->getNamespaceString();
69
-        return $namespace === null? $name : $namespace . '\\' . $name;
69
+        return $namespace === null ? $name : $namespace . '\\' . $name;
70 70
     }
71 71
 
72 72
     /**
Please login to merge, or discard this patch.
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'): void
78 78
     {
79
-        if (! $this->fileValidator->validate($sourcePath)) {
79
+        if (!$this->fileValidator->validate($sourcePath)) {
80 80
             return;
81 81
         }
82 82
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     {
109 109
         $targetPathExists = $this->fileSystem->has($targetPath);
110 110
 
111
-        if ($targetPathExists && ! $this->config->hasOverwrite()) {
111
+        if ($targetPathExists && !$this->config->hasOverwrite()) {
112 112
             throw new ExecutorException(sprintf('The target file "%s" already exists.', $targetPath));
113 113
         }
114 114
 
Please login to merge, or discard this patch.