Test Setup Failed
Pull Request — master (#137)
by Anton
10:11
created
src/Config/Config.php 5 patches
Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -280,6 +280,4 @@
 block discarded – undo
280 280
 
281 281
     protected function getOutputPath(string $name = null): string
282 282
     {
283
-        return $this->builder->getOutputPath($name ?: $this->name);
284
-    }
285
-}
283
+        return $this->builder->getOutputPath($name ?: $this->name
286 284
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -280,6 +280,4 @@
 block discarded – undo
280 280
 
281 281
     protected function getOutputPath(string $name = null): string
282 282
     {
283
-        return $this->builder->getOutputPath($name ?: $this->name);
284
-    }
285
-}
283
+        return $this->builder->getOutputPath($name ?: $this->name
286 284
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
     {
222 222
         $res = [];
223 223
         foreach ($data as $key => $value) {
224
-            $res[$this->substitutePath($key, $dir)] = $this->substitutePath($value, $dir);
224
+            $res[$this - >substitutePath($key,  $dir)] = $this->substitutePath($value, $dir);
225 225
         }
226 226
 
227 227
         return $res;
@@ -280,6 +280,4 @@  discard block
 block discarded – undo
280 280
 
281 281
     protected function getOutputPath(string $name = null): string
282 282
     {
283
-        return $this->builder->getOutputPath($name ?: $this->name);
284
-    }
285
-}
283
+        return $this->builder->getOutputPath($name ?: $this->name
286 284
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -280,6 +280,4 @@
 block discarded – undo
280 280
 
281 281
     protected function getOutputPath(string $name = null): string
282 282
     {
283
-        return $this->builder->getOutputPath($name ?: $this->name);
284
-    }
285
-}
283
+        return $this->builder->getOutputPath($name ?: $this->name
286 284
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -280,6 +280,4 @@
 block discarded – undo
280 280
 
281 281
     protected function getOutputPath(string $name = null): string
282 282
     {
283
-        return $this->builder->getOutputPath($name ?: $this->name);
284
-    }
285
-}
283
+        return $this->builder->getOutputPath($name ?: $this->name
286 284
\ No newline at end of file
Please login to merge, or discard this patch.
src/Config/Envs.php 5 patches
Indentation   +1 added lines, -18 removed lines patch added patch discarded remove patch
@@ -20,21 +20,4 @@
 block discarded – undo
20 20
         return {$envs};
21 21
         PHP;
22 22
 
23
-        $this->contentWriter->write($path, $content . PHP_EOL);
24
-    }
25
-
26
-    protected function envsRequired(): bool
27
-    {
28
-        return false;
29
-    }
30
-
31
-    protected function constantsRequired(): bool
32
-    {
33
-        return false;
34
-    }
35
-
36
-    protected function paramsRequired(): bool
37
-    {
38
-        return false;
39
-    }
40
-}
23
+        $this->contentWriter->write($path, $content
41 24
\ No newline at end of file
Please login to merge, or discard this patch.
Switch Indentation   +1 added lines, -18 removed lines patch added patch discarded remove patch
@@ -20,21 +20,4 @@
 block discarded – undo
20 20
         return {$envs};
21 21
         PHP;
22 22
 
23
-        $this->contentWriter->write($path, $content . PHP_EOL);
24
-    }
25
-
26
-    protected function envsRequired(): bool
27
-    {
28
-        return false;
29
-    }
30
-
31
-    protected function constantsRequired(): bool
32
-    {
33
-        return false;
34
-    }
35
-
36
-    protected function paramsRequired(): bool
37
-    {
38
-        return false;
39
-    }
40
-}
23
+        $this->contentWriter->write($path, $content
41 24
\ No newline at end of file
Please login to merge, or discard this patch.
Spacing   +1 added lines, -18 removed lines patch added patch discarded remove patch
@@ -20,21 +20,4 @@
 block discarded – undo
20 20
         return {$envs};
21 21
         PHP;
22 22
 
23
-        $this->contentWriter->write($path, $content . PHP_EOL);
24
-    }
25
-
26
-    protected function envsRequired(): bool
27
-    {
28
-        return false;
29
-    }
30
-
31
-    protected function constantsRequired(): bool
32
-    {
33
-        return false;
34
-    }
35
-
36
-    protected function paramsRequired(): bool
37
-    {
38
-        return false;
39
-    }
40
-}
23
+        $this->contentWriter->write($path, $content
41 24
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +1 added lines, -18 removed lines patch added patch discarded remove patch
@@ -20,21 +20,4 @@
 block discarded – undo
20 20
         return {$envs};
21 21
         PHP;
22 22
 
23
-        $this->contentWriter->write($path, $content . PHP_EOL);
24
-    }
25
-
26
-    protected function envsRequired(): bool
27
-    {
28
-        return false;
29
-    }
30
-
31
-    protected function constantsRequired(): bool
32
-    {
33
-        return false;
34
-    }
35
-
36
-    protected function paramsRequired(): bool
37
-    {
38
-        return false;
39
-    }
40
-}
23
+        $this->contentWriter->write($path, $content
41 24
\ No newline at end of file
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -18 removed lines patch added patch discarded remove patch
@@ -20,21 +20,4 @@
 block discarded – undo
20 20
         return {$envs};
21 21
         PHP;
22 22
 
23
-        $this->contentWriter->write($path, $content . PHP_EOL);
24
-    }
25
-
26
-    protected function envsRequired(): bool
27
-    {
28
-        return false;
29
-    }
30
-
31
-    protected function constantsRequired(): bool
32
-    {
33
-        return false;
34
-    }
35
-
36
-    protected function paramsRequired(): bool
37
-    {
38
-        return false;
39
-    }
40
-}
23
+        $this->contentWriter->write($path, $content
41 24
\ No newline at end of file
Please login to merge, or discard this patch.