mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-04 15:44:07 +01:00
chore: Implement AccountAclService tests.
Use scoped namespace for simple functions. Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user