fix(ns): root-qualify PHP builtins after PSR-4 move

Namespaced classes resolved DateTimeImmutable etc. under AKSRT\*
(e.g. Credits\DateTimeImmutable). Prefix with \ globally.
This commit is contained in:
kate522 committed 2026-07-17 15:05:03 +08:00
1 parent 0335517467
commit da59d550ad
7 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -228,7 +228,7 @@ class Moderation {
$decision = $this->enrich_moderation_result($decision, $commentdata);
$this->remember_result($commentdata, $decision);
} catch (Exception $e) {
} catch (\Exception $e) {
// Intentionally silent: keep moderation flow without writing runtime logs.
}