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 | public function generateDefaultConfiguration(string $version, string $format, string $bootstrapScript) : string |
||
78 | { |
||
79 | return \str_replace( |
||
80 | [ |
||
81 | '{phpbu_version}', |
||
82 | '{bootstrap_script}' |
||
83 | ], |
||
84 | [ |
||
85 | $version, |
||
86 | $bootstrapScript |
||
87 | ], |
||
88 | $this->getTemplate($format) |
||
89 | ); |
||
90 | } |
||
91 | |||
103 |