| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 6 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 23 | class ViewDiffService |
||
| 24 | { |
||
| 25 | /** @return array<string, array{unixsum: string}> */ |
||
| 26 | public static function getViewFileHashIndex(): array |
||
| 37 | } |
||
| 38 | |||
| 39 | /** @return array<string> */ |
||
| 40 | public static function getChecksums(): array |
||
| 41 | { |
||
| 42 | $checksums = []; |
||
| 43 | |||
| 44 | foreach (static::getViewFileHashIndex() as $file) { |
||
| 45 | $checksums[] = $file['unixsum']; |
||
| 46 | } |
||
| 47 | |||
| 48 | return $checksums; |
||
| 49 | } |
||
| 50 | |||
| 51 | public static function checksumMatchesAny(string $checksum): bool |
||
| 54 | } |
||
| 55 | } |
||
| 56 |