| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class NoopFilenameSanitizer implements FilenameSanitizerInterface |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @param string $string String |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | 1 | public function sanitize(string $string): string |
|
| 31 | { |
||
| 32 | 1 | return $string; |
|
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Beautifies a filename to make it better to read |
||
| 37 | * |
||
| 38 | * @param string $filename Filename |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | 1 | public function beautify(string $filename): string |
|
| 44 | } |
||
| 45 | } |
||
| 46 |