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

Fixes for var_export functions #9

Merged
merged 2 commits into from
Oct 19, 2011
Merged

Fixes for var_export functions #9

merged 2 commits into from
Oct 19, 2011

Conversation

mgdm
Copy link
Contributor

@mgdm mgdm commented Oct 15, 2011

Hi,
These two commits should fix both #735 and #733. Not looked into #734 yet - I think in that case it just uses PHP's own var_dump functions?

@derickr
Copy link
Contributor

derickr commented Oct 16, 2011

Hija!

Awesome. But could you add a test case for the issues too please?

cheers,
Derick

@derickr derickr closed this Oct 16, 2011
@mgdm
Copy link
Contributor Author

mgdm commented Oct 16, 2011

The problem with doing that is that when it's running the tests, the isatty() check will make it turn the ANSI colour stuff back off again as it's not outputting to a terminal, so I'm not entirely sure how to go about setting up a test case for that.

@derickr derickr reopened this Oct 17, 2011
@derickr
Copy link
Contributor

derickr commented Oct 17, 2011

Ah, right... I see. However, there seems to be a white space issue still? Xdebug generally tends to indent everything with a tab, and then align everything with a space. Not quite sure what your patch is doing, but could you please check?

derickr added a commit that referenced this pull request Oct 19, 2011
Fixes for var_export functions with CLI color.
@derickr derickr merged commit 4912bcc into xdebug:master Oct 19, 2011
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