-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NewNowdocQuotedHeredoc: Add sniffing for quoted heredoc identifiers.
As the logic needed is nearly the same - especially for the recognition of these tokens in PHP 5.2 -, I've added sniffing for quoted heredoc identifiers to the nowdoc sniff and renamed the sniff to match. As the nowdoc sniff was only recently introduced and only contained in the most recent release, this should not cause a significant backward-compatibility break. Includes unit tests. Includes improved documentation.
- Loading branch information
Showing
3 changed files
with
166 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters