| Total Complexity | 3 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | trait Contains |
||
| 10 | { |
||
| 11 | protected function isValidation(string $filename, bool $is_path = false): bool |
||
| 12 | { |
||
| 13 | $this->log('Does the file contain validation messages? ' . $filename); |
||
|
|
|||
| 14 | |||
| 15 | $filename = $is_path ? Path::filename($filename) : $filename; |
||
| 16 | |||
| 17 | return Str::startsWith($filename, 'validation'); |
||
| 18 | } |
||
| 19 | |||
| 20 | protected function isJson(string $filename): bool |
||
| 25 | } |
||
| 26 | } |
||
| 27 |