Skip to content

Conversation

@stof
Copy link
Member

@stof stof commented Oct 28, 2025

Q A
Branch? 7.4
Bug fix? yes
New feature? no
Deprecations? no
Issues
License MIT

When PHPUnit is installed through composer, the bootstrap.php file will be loaded before the Metadata class is autoloaded by PHPUnit itself. This was breaking the skipping of the initialization, which broke deprecation reporting by mixing the old system and PHPUnit 11 in my case.
Before #61863, the old checks were triggering autoloading.

@carsonbot carsonbot added this to the 7.4 milestone Oct 28, 2025
@carsonbot carsonbot changed the title Fix the initialization of the phpunit bridge Fix the initialization of the phpunit bridge Oct 28, 2025
@alexandre-daubois
Copy link
Member

Thank you @stof.

@alexandre-daubois alexandre-daubois merged commit 74c672f into 7.4 Oct 29, 2025
22 of 23 checks passed
@alexandre-daubois alexandre-daubois deleted the stof-patch-1 branch October 29, 2025 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants