Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
77 | 2 | public function generateConfigurationSkeleton(string $version, string $format, string $bootstrapScript) : string |
|
78 | { |
||
79 | 2 | return \str_replace( |
|
80 | [ |
||
81 | 2 | '{phpbu_version}', |
|
82 | '{bootstrap_script}' |
||
83 | ], |
||
84 | [ |
||
85 | 2 | $version, |
|
86 | 2 | $bootstrapScript |
|
87 | ], |
||
88 | 2 | $this->getTemplate($format) |
|
89 | ); |
||
90 | } |
||
91 | |||
103 |