The PHPUnit Test Explorer extension fails to recognize test methods when anonymous classes within test files utilize PHP 8.4's property hooks feature. Test methods are not detected or displayed in the test explorer, though functional tests work correctly.
Steps to Reproduce:
Create a test file with an anonymous class using PHP 8.4 property hooks
The test explorer does not detect any test methods
Removing the property hooks functionality restores normal detection