Skip to content
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

Allow override of Dumper via SERVER variable #271

Merged
merged 1 commit into from Jul 13, 2020
Merged

Allow override of Dumper via SERVER variable #271

merged 1 commit into from Jul 13, 2020

Conversation

Korko
Copy link
Contributor

@Korko Korko commented Apr 15, 2020

Copy behavior from Symfony VarDumper.

PHP_SAPI cannot be changed but sometimes it can be helpful to enforce the dumper.

Copy behavior from Symfony VarDumper.

PHP_SAPI cannot be changed but sometimes it can be helpful to enforce the dumper.
@freekmurze
Copy link
Collaborator

I like the added functionality, but I don't like the implementation.

Could you refactor this so we have a dedicated function to returns the right dumper. Use early returns. That will greatly improve readability.

Thanks!

@freekmurze freekmurze merged commit f2cfb83 into facade:master Jul 13, 2020
@freekmurze
Copy link
Collaborator

I'll change this myself, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants