mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-21 12:03:09 +02:00
Move the Core/Logging layer into XcVm\Core\Logging (Logger, LoggerInterface, FileLogger, DatabaseLogger, UpdateLogger). Composer PSR-4 now resolves them. - Add namespace to the 5 logging classes; built-in \Throwable qualified in Logger; same-namespace LoggerInterface references unqualified. - Add 'use XcVm\Core\Logging\...;' to the 16 referencing files (bootstrap, web/stream bootstraps, stream entry points, Database, EPG, update command/cron, auth, ministra) — call sites unchanged. - Authenticator::logRecaptcha: drop the now-dead class_exists/method_exists guard (Logger is always autoloadable post-Composer) and call Logger::log directly. Procedural Core/Error + Core/Config constants files (ErrorCodes/ErrorHandler/ AppConfig/Binaries/Paths — no classes) intentionally left global per plan. Verified: php -l clean; PHPStan no errors; PHPUnit 295/295.