We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@prettier/plugin-php v0.19.2 Playground link
Input:
<?php #[ATTRIBUTE] function aaa( int $bbb, // this comment causes attribute to dissappear int $ccc, ) { var_dump('test'); }
Output:
<?php function aaa( int $bbb, // this comment causes attribute to dissappear int $ccc, ) { var_dump("test"); }
The text was updated successfully, but these errors were encountered:
It looks to be a regression on v0.19.2, however, I am not that familiar with the way comments are parsed/handled.
Sorry, something went wrong.
No branches or pull requests
@prettier/plugin-php v0.19.2
Playground link
Input:
Output:
The text was updated successfully, but these errors were encountered: