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
@AndreasA correct - I wanted to bump the parser dependency here already, but ran into a regression: glayzzle/php-parser#934
I hope that we can get it fixed soon, then shipping this fix (and others) should be simple.
Not sure if it is actually the plugin or the php parser but the code snippet fails to be formatted and actually fails with an exception.
For this issue to occur some specific requirements have to be met:
\
is used for the argument, e.g. fully qualified class name.#[]
bracket.\
.Prettier 2.6.2
PHP Plugin 0.18.4
Options:
Input:
Output:
Expected behavior:
Not to fail.
Playground example
The text was updated successfully, but these errors were encountered: