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

TextStrings::getCompleteTextString(): remove newline at end of heredoc/nowdoc #136

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented May 12, 2020

PHP itself does not include the last new line in a heredoc/nowdoc text string when handling it, so this method shouldn't either.

Included adjusted unit tests.

…c/nowdoc

PHP itself does not include the last new line in a heredoc/nowdoc text string when handling it, so this method shouldn't either.

Included adjusted unit tests.
@jrfnl jrfnl added this to the 1.0.0-alpha3 milestone May 12, 2020
@jrfnl jrfnl merged commit f29c62f into develop May 12, 2020
@jrfnl jrfnl deleted the feature/textstrings/getcompletetextstring-improve-handling-heredoc-nowdoc branch May 12, 2020 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant