MCPcopy Create free account
hub / github.com/error311/FileRise / failIf

Function failIf

tests/security/auth_security_regressions.php:60–65  ·  view source on GitHub ↗
(bool $cond, string $message, array &$errors)

Source from the content-addressed store, hash-verified

58}
59
60function failIf(bool $cond, string $message, array &$errors): void
61{
62 if ($cond) {
63 $errors[] = $message;
64 }
65}
66
67function captureControllerOutput(callable $callback): string
68{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected