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.

@Nyholm
Copy link
Member

Nyholm commented Nov 29, 2025

Thank you.

I have rebased your PR. I also made sure that you can merge your own PR now if you want.

@Nyholm Nyholm merged commit b9d8df2 into SymfonyTest:master Nov 29, 2025
17 checks passed
@mbabker mbabker deleted the exporter-compat branch November 29, 2025 12:24
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

2 participants