| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | 14 | protected function isValidation(string $filename, bool $is_path = false): bool |
|
| 12 | { |
||
| 13 | 14 | $this->log('Does the file contain validation messages?', $filename); |
|
|
|
|||
| 14 | |||
| 15 | 14 | $filename = $is_path ? Path::filename($filename) : $filename; |
|
| 16 | |||
| 17 | 14 | return Str::startsWith($filename, 'validation'); |
|
| 18 | } |
||
| 41 |