PermissionChecker
Checks a set of {@see PermissionRule}s against the filesystem's actual file modes. A rule's `maxMode` is a ceiling: any bit set on the actual mode that the ceiling does not allow is a violation, regardless of how the file's other bits compare (stricter-than-allowed is always fine). A rule whose file does not exist is silently skipped — a missing file is not a permission violation.
PermissionChecker::check()
public function check(array $rules): arrayCompara los permisos reales de cada ruta contra lo que la regla exige, y devuelve sólo lo que no coincide.
Parameters
| Name | Type | Description |
|---|---|---|
| $rules | list<PermissionRule> |