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
Since 0.19.2 it seems that prettier removes attributes, if an argument also has attributes that are more complex. See examples below. Especially relevant with PHP 8.2 setting and even newer prettier versions.
Not providing playground example as playground pretter plugin version is too old.
Since 0.19.2 it seems that prettier removes attributes, if an argument also has attributes that are more complex. See examples below. Especially relevant with PHP 8.2 setting and even newer prettier versions.
Not providing playground example as playground pretter plugin version is too old.
Might be related to: #2101
Prettier 2.8.8 However, also tried the latest prettier version with 0.21.0
PHP Plugin 0.19.6 However, also tried 0.19.2 and the latest 0.21.0 and to confirm it works with 0.19.1
# Options (if any): --no-options
Input:
Output:
Expected behavior:
That the Route attribute is not removed but formatted accordingly.
What is interesting is that the following works fine, though code wise it is the same:
The text was updated successfully, but these errors were encountered: