Skip to content

Use the PHPUnit Exporter util class #166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

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