| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 28 | trait Has |
||
| 29 | { |
||
| 30 | 62 | protected function hasJson(string $filename): bool |
|
| 35 | } |
||
| 36 | |||
| 37 | 62 | protected function hasValidation(string $filename): bool |
|
| 38 | { |
||
| 39 | 62 | $name = $this->filename($filename); |
|
| 40 | |||
| 41 | 62 | return Str::startsWith($name, 'validation'); |
|
| 42 | } |
||
| 43 | |||
| 44 | 62 | protected function hasAlignment(): bool |
|
| 45 | { |
||
| 46 | 62 | return Config::hasAlignment(); |
|
| 47 | } |
||
| 48 | |||
| 49 | 62 | protected function hasInline(): bool |
|
| 52 | } |
||
| 53 | } |
||
| 54 |