You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add PSR-3/PSR-20 compliance, TrendReporter, and script_filename tracking
PSR compliance:
- PSR-3: LogReporter now type-hints Psr\Log\LoggerInterface instead of
duck-typing with ?object. psr/log moved to require (from require-dev).
- PSR-20: TimeCollector accepts optional Psr\Clock\ClockInterface for
testable timing. Falls back to hrtime() when no clock is provided.
psr/clock added to require.
New features:
- TrendReporter: generates sci-trend.txt with per-script SCI trajectories,
ASCII sparklines, trend indicators (improved/stable/worse), and a
chronological history table with delta markers.
- RequestCollector now captures request.script_filename ($_SERVER['SCRIPT_FILENAME']
or argv[0]) for tracking which PHP file is being profiled.
Both bootstrap.php and phar stub register the trend reporter.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments