---
date: 2025-05-12T10:48:20+00:00
modified: 2025-05-12T10:48:20+00:00
permalink: https://kaspars.net/note/mastodon-social-114495173465695610
post_type: note
author:
  name: Kaspars
  avatar: https://reverse.kaspars.net/gravatar/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=mm&r=g
---

# On May 12, 2025 at 13:48

TIL: PHPUnit no longer supports test filenames being different from the test class names (i.e. `class-` prefix used by WP) since version 9.

Why enforce this? I assume reflection is still used for resolving the actual class names so there is no practical need for them to match.