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 2.5.1
PHP Plugin 0.18.3
Input:
<?php declare(strict_types=1); namespace App; #[\Attribute(Attribute::TARGET_PROPERTY | Attribute::TARGET_METHOD | Attribute::IS_REPEATABLE)] class Test { }
Output:
src/Test.php: Error: Bad terminal sequence "|" at line 3 (offset 73)
Expected behavior: No error.
Though I think the issue is actually related to the php parser: https://github.com/glayzzle/php-parser glayzzle/php-parser#486 glayzzle/php-parser#654
The text was updated successfully, but these errors were encountered:
Fixed in v0.18.5 🎉
v0.18.5
Sorry, something went wrong.
No branches or pull requests
Prettier 2.5.1
PHP Plugin 0.18.3
Input:
Output:
src/Test.php: Error: Bad terminal sequence "|" at line 3 (offset 73)
Expected behavior:
No error.
Though I think the issue is actually related to the php parser:
https://github.com/glayzzle/php-parser
glayzzle/php-parser#486
glayzzle/php-parser#654
The text was updated successfully, but these errors were encountered: