Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHPCSDebug/TokenList: visualize whitespace in PHP 7.3+ heredoc/nowdoc…
… closers Since PHP 7.3, heredoc/nowdoc closers may be indented. This indent can use either tabs or spaces and the indent is included in the `T_END_HEREDOC`/`T_END_NOWDOC` token contents. This commit adds whitespace visualization for these tokens. No tests included as the tests would only work on PHP 7.3 and would break the pre-existing tests for PHP < 7.3 (due to the token stream being broken for flexible heredocs/nowdocs in PHP < 7.3).
- Loading branch information