Skip to content

Conversation

mbabker
Copy link
Contributor

@mbabker mbabker commented Mar 10, 2025

Alternative to #159
Fixes #158

PHPUnit 10.5, 11.3-11.5, and 12.0 all have a PHPUnit\Util\Exporter class which proxies to the sebastian/exporter package. It is deprecated in 10.5, removed from 11.0, and restored in 11.3. To avoid the issue reported in #158, this PR makes use of that utility class and removes the direct uses of and dependency to sebastian/exporter.

I've also bumped the minimum PHPUnit version for the 11.x branch to 11.5 because at this point the older branches are unsupported so not having to deal with differing behavior in the 3 minor versions this class doesn't exist in seems like a win.

@mbabker mbabker requested a review from Nyholm August 13, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Does not work with phpunit phar release
1 participant