You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scanner must interpret double-quoted strings that don't contain variables as T_CONSTANT_ENCAPSED_STRING. double_qoute_nonvarname and double_qoute_nondollar prevents transition to final state if variable found.
Dev branch.
Test Script
Expected Result
Actual Result
My Suggestion
php-parser/scanner/scanner.rl
Lines 68 to 104 in a7e37ad
constant_string
won't parse double quoted string. So maybe we don't needdouble_qoute_nonvarname
anddouble_qoute_nondollar
state.The text was updated successfully, but these errors were encountered: