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

[GenerateMarkdownDoc] Use var_export for rendering default param values #1120

Conversation

Naktibalda
Copy link
Contributor

Overview

This pull request:

  • Fixes a bug
  • Adds a feature
  • Breaks backwards compatibility
  • Has tests that cover changes
  • Adds or fixes documentation

Summary

print_r is completely unsuitable for printing Boolean values because it renders false as empty string and true as 1. So I replaced it with var_export.

Description

Fixes #1119

@DavertMik DavertMik merged commit 2ce43ae into consolidation:3.x Aug 1, 2022
@DavertMik
Copy link
Member

Done!

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.

2 participants