PHPCSStandards / PHP_CodeSniffer

PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
BSD 3-Clause "New" or "Revised" License
937 stars 56 forks source link

Tokenizer/PHP: add tests for heredoc/nowdoc tokenization #584

Closed jrfnl closed 3 months ago

jrfnl commented 3 months ago

Description

The PHP tokenizer contains logic to:

This commit adds tests safeguarding and documenting this part of the tokenizer.

Suggested changelog entry

N/A