| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 36 | public static function getCleanOutputFileContent($filename) |
||
| 37 | { |
||
| 38 | $fullFilename = __DIR__ . DIRECTORY_SEPARATOR . $filename . '.json'; |
||
| 39 | if ( ! file_exists($fullFilename)) { |
||
| 40 | throw new \Exception('Unknown file stub: ' . $filename); |
||
| 41 | } |
||
| 42 | |||
| 43 | return self::cleanLog(file_get_contents($fullFilename)); |
||
| 44 | } |
||
| 45 | |||
| 57 |