-
-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
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
Class Constants Types PHP 8.3 support #2299
Comments
Hi, is there any plan to release something soon about this ? |
Some fo the 8.3 syntax changes are not yet supported by php-prettier. |
Bump |
If I set "plugins": ["@prettier/plugin-php"],
"phpVersion": "8.3",
"overrides": [
{
"files": "*.php",
"options": {
"singleQuote": true
}
}
] then the whole "run on save" feature does not work in PhpStorm. |
Along with static typed constants, we prettier does not read 8.3 as a valid version: Lines 10 to 26 in 46b7ba9
|
The upstream parser library doesn't have support for PHP 8(.3) yet. See related ticket. This specific issue is tracked here. |
Good news! The specific issue closed last week! |
Is there a plan to support new 8.3 version? The following code is correct, but prettier says not.
The text was updated successfully, but these errors were encountered: