Skip to content

Allows a custom Writer to be set on the PhpUnit adapter #193

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

Merged

Conversation

lukeraymonddowning
Copy link
Collaborator

This is a vastly simplified version of #192

Happy Wednesday!

Up until now, the Writer on the PhpUnit Printer for Collision was instantiated by the class itself. For Pest parallel, we need to be able to set a custom writer that allows us to force the colour style in the highlighter to get syntax highlighting on test errors.

This PR add a new setStyleWriter method on the Printer, which allows for an override of the default writer.

Kind Regards,
Luke

@nunomaduro nunomaduro merged commit 56da327 into nunomaduro:stable Aug 25, 2021
@nunomaduro
Copy link
Owner

@lukeraymonddowning @owenvoke you can release.

@lukeraymonddowning
Copy link
Collaborator Author

Don't have permission to release on Collision. @owenvoke are you cool to do it?

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.

None yet

3 participants