Problem
The docblock says logging "falls back to the default channel" when no passage channel exists. The code hardcodes Log::channel('passage') with no fallback, so an unconfigured channel routes through Laravel's emergency logger instead. Small, but the class exists for observability, and its own behavior is mis-documented.
Location
src/Listeners/PassageEventSubscriber.php
Fix
Check config('logging.channels.passage') and fall back to the default channel, matching the docblock.
Sizing
Priority 10 (Impact 1, Risk 1, Effort 1). Estimated 1 hour.
From the tech debt audit dated 2026-07-05.
Problem
The docblock says logging "falls back to the default channel" when no
passagechannel exists. The code hardcodesLog::channel('passage')with no fallback, so an unconfigured channel routes through Laravel's emergency logger instead. Small, but the class exists for observability, and its own behavior is mis-documented.Location
src/Listeners/PassageEventSubscriber.phpFix
Check
config('logging.channels.passage')and fall back to the default channel, matching the docblock.Sizing
Priority 10 (Impact 1, Risk 1, Effort 1). Estimated 1 hour.
From the tech debt audit dated 2026-07-05.