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
Tokenizer: assign a parenthesis_owner for list() parenthesis
`list()`, just like `array()` is a language construct.
While the parentheses for `array()` would receive the `array` token as the `parenthesis_owner`, the parentheses for `list()` did not.
This commit fixes that inconsistency.
Tested by removing the `T_LIST` token from the "additional tokens indicating that parenthesis are not arbitrary" list in the `Generic.WhiteSpace.ArbitraryParenthesesSpacing` sniff.
0 commit comments