| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | protected function replaceHtaccessFile() |
||
| 32 | { |
||
| 33 | $installationArgs = $this->config->getArray('installation_args'); |
||
| 34 | $baseUrl = $installationArgs['base-url']; |
||
| 35 | $htaccessFile = $this->config->getString('installationFolder') . '/pub/.htaccess'; |
||
| 36 | |||
| 37 | $this->_backupOriginalFile($htaccessFile); |
||
| 38 | $this->_replaceContent($htaccessFile, $baseUrl); |
||
| 39 | } |
||
| 40 | |||
| 60 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.