~/talk

PHPUnit 10: The new Event Subsystem

Talkat phpday 2021 · 2021-06-08..06-09· [testing]
slides:none on file

PHPUnit 10 replaces TestListener/TestHook with a new event subsystem that emits 45 distinct event types, attaches telemetry (hrtime and memory) to every event, and offers a tracer that captures every event stream. The system already serializes events for tracing and can drive new loggers, but it is not release ready: child‑process event forwarding and final log format decisions remain unimplemented, and PHP 8 is the minimum target.

AI-written summary · about

  1. 0:00Intro
  2. 1:58Interview
  3. 3:58Introduction
  4. 8:57TestTalk
  5. 10:20Log Format
  6. 13:30EU Fossa 2
  7. 16:03Event Subsystem
  8. 18:18The 45 Events
  9. 23:18How to subscribe
  10. 25:23Dedicated interfaces
  11. 28:08Registering a tracer
  12. 29:18The new tracer
  13. 30:18Running the tracer
  14. 32:08Release details
  15. 34:58Features
  16. 36:08Custom Events
  17. 37:53Child Processes
  18. 41:28New log standard
  19. 42:58Custom loggers
  20. 44:28The headache for thirdparty developers
  21. 46:28Test listener interface deprecated
  22. 48:28PHP 8 minimum
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.