chore: Implement AccountAclService tests.

Use scoped namespace for simple functions.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2022-11-25 23:40:27 +01:00
parent a4c654f44c
commit 796ecbc5fb
46 changed files with 1865 additions and 2533 deletions

View File

@@ -65,6 +65,7 @@ function logger(mixed $data, string $type = 'DEBUG'): void
$caller
);
/** @noinspection ForgottenDebugOutputInspection */
$useOwn = (!defined('LOG_FILE')
|| !@error_log($line, 3, LOG_FILE)
);
@@ -77,6 +78,7 @@ function logger(mixed $data, string $type = 'DEBUG'): void
$caller
);
/** @noinspection ForgottenDebugOutputInspection */
@error_log($line);
}
}