-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The PHP 7.4 T_BAD_CHARACTER token has been made available for older v…
…ersions (ref #2588)
- Loading branch information
Showing
2 changed files
with
7 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,8 @@ http://pear.php.net/dtd/package-2.0.xsd"> | |
- The T_LIST token and it's opening and closing parentheses now contain references to each other in the tokens array | ||
-- Uses the same parenthesis_opener/closer/owner indexes as other tokens | ||
-- Thanks to Juliette Reinders Folmer for the patch | ||
- The PHP 7.4 T_BAD_CHARACTER token has been made available for older versions | ||
-- Allows you to safely look for this token, but it will not appear unless checking with PHP 7.4+ | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
gsherwood
Author
Member
|
||
- Added Generic.ControlStructures.DisallowYodaConditions sniff | ||
-- Ban the use of Yoda conditions | ||
-- Thanks to Mponos George for the contribution | ||
|
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
or PHP < 7.0.