Skip to content
New issue

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

Fix highlight_string function for proper highlighting - #3160 #3959

Closed
wants to merge 10 commits into from
Closed

Fix highlight_string function for proper highlighting - #3160 #3959

wants to merge 10 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 11, 2014

This should resolve #3160.

Lucas Tadeu Teixeira added 3 commits October 11, 2014 15:48
(#3160)

During the highlighting process, the token is inspected to check
whether or not it is a double-quote (").
If it is, the `$next_color` variable is set to `$colors['string']`.
@facebook-github-bot
Copy link
Contributor

This pull request has been imported into Phabricator, and discussion and review of the diff will take place at https://reviews.facebook.net/D24789

@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

Lucas Tadeu Teixeira added 7 commits October 12, 2014 10:31
The 'defaultText' field inside the 'info' array of a ReflectionParameter
instance is matched against a regex that checks if it complies with the
accepted format for labels and constants names.

Then it checks whether or not it is one of the following reserved words:
'NULL', 'false' and 'true'. If it is, then the function returns FALSE.
Otherwise, TRUE.
…tant method from the ReflectionParameter class."

This reverts commit 017a780.
This reverts commit b442e9d.
@hhvm-bot hhvm-bot closed this in aa62fee Oct 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant