Closed mfn closed 4 years ago
If there's no breaking changes in the printer functionality of v7, it should just be a case of relaxing the constraints. I suggest you try it and see by submitting a PR.
Create pr but Travis build failed.
https://travis-ci.org/ScriptFUSION/PHPUnit-Immediate-Exception-Printer/jobs/388865414
Since the desire grew to have a working solution, I forked this package and made it (only) work with PHPUnit 8.5+ (and thus PHP 7.2+). Please see https://github.com/mfn/phpunit-immediate-exception-printer for anyone interested.
If you add support for newer PHPUnit versions whilst maintaining backwards compatibility, I'll accept such a PR.
In my fork I removed all of that; it's a single non-multi-version file.
I also spent quite an mount of time fixing the tests (awesome idea how you did it, btw!) because some of formatting output changed. I'm not sure I'm interested in trying to get this work with multiple PHPUnit version…
Any clown can make a PHPUnit printer that supports just one version. If you want to contribute something of value to the open source community, grit your teeth on a real challenge and support all active versions.
Tried to install it:
This is the phpunit version I've installed: