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
{{ message }}
Repository navigation
First class callable syntax treated like arguments, trailing comma causes error #2149
Expected Output:
No trailing comma after ... in first class callable syntax, which is a syntax error. Or preferentially treating the (...) as being inseparable and not allowing line breaks inside it.
Yea, just bumped into this one myself, extracted a Laravel query filter to a named function for reuse, and a deep/long relation name caused it to break to a new line. Would agree that func(...) should be an unbreakable unit of syntax.
Activity
Spice-King commentedon May 8, 2024
Yea, just bumped into this one myself, extracted a Laravel query filter to a named function for reuse, and a deep/long relation name caused it to break to a new line. Would agree that
func(...)should be an unbreakable unit of syntax.