Skip to content

Heredoc quotes loose #133

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

Closed
alexander-akait opened this issue Mar 13, 2018 · 3 comments
Closed

Heredoc quotes loose #133

alexander-akait opened this issue Mar 13, 2018 · 3 comments
Assignees

Comments

@alexander-akait
Copy link
Collaborator

Input:

$string = <<<"EOJS"
some text
should not indent
EOJS;

Output: https://astexplorer.net/#/gist/070ed89ca1b5b086a5bb38b51c29fc97/e657ffae5e79c99cabacb499911d7375b7a11f2c

@ichiriac
Copy link
Member

If you try this on the next release you will see that you have a raw property but it does not include the <<<"EOJS" (because I've eaten the token token too early but can be fixed) - so you could use this one.

I could also add a quote boolean property

@alexander-akait
Copy link
Collaborator Author

@ichiriac quote willl be great!

@ichiriac ichiriac added this to the 3.0.0 milestone Mar 19, 2018
@ichiriac
Copy link
Member

it's done

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

No branches or pull requests

2 participants