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
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.
The text was updated successfully, but these errors were encountered:
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.
@prettier/plugin-php v0.19.3
Playground link
Input:
Output:
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.The text was updated successfully, but these errors were encountered: