We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If a multi-line string is inside an if or switch statement, the code block only gets collapsed till the start of the multi-line string, for example:
// if or switch here... $str = <<<STRING code .... STRING;
The text was updated successfully, but these errors were encountered:
could you give a concrete example rather than pseudo code?
Sorry, something went wrong.
Seems to occur only when collapsing "case"; it doesn't collapse the multiline echo (PHP). Try collapsing 'case' in the following example:
switch($x) { case 'value': if(FALSE) { // do something } else { $multiline = <<<TEST Output something... TEST; } break; }
No branches or pull requests
If a multi-line string is inside an if or switch statement, the code block only gets collapsed till the start of the multi-line string, for example:
// if or switch here...
$str = <<<STRING
code ....
STRING;
The text was updated successfully, but these errors were encountered: