@@ -280,6 +280,4 @@ |
||
| 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 |
@@ -280,6 +280,4 @@ |
||
| 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 |
@@ -221,7 +221,7 @@ discard block |
||
| 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 |
||
| 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 |
@@ -280,6 +280,4 @@ |
||
| 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 |
@@ -280,6 +280,4 @@ |
||
| 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 |
@@ -20,21 +20,4 @@ |
||
| 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 |
@@ -20,21 +20,4 @@ |
||
| 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 |
@@ -20,21 +20,4 @@ |
||
| 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 |
@@ -20,21 +20,4 @@ |
||
| 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 |
@@ -20,21 +20,4 @@ |
||
| 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 |