| Total Complexity | 5 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | trait AssertFilenameExistsTrait |
||
| 26 | { |
||
| 27 | use ValueToStringTrait; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Check filename exists and is readable |
||
| 31 | * |
||
| 32 | * @param string $value |
||
| 33 | * @param string $message |
||
| 34 | * |
||
| 35 | * @return void |
||
| 36 | * @throws InvalidArgumentException |
||
| 37 | */ |
||
| 38 | 68 | public static function assertFilenameExists(string $value, string $message = ''): void |
|
| 53 |