Skip to content
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

PHP 8.3 support #2299

Open
Digitalone1 opened this issue Dec 24, 2023 · 3 comments
Open

PHP 8.3 support #2299

Digitalone1 opened this issue Dec 24, 2023 · 3 comments

Comments

@Digitalone1
Copy link

Is there a plan to support new 8.3 version? The following code is correct, but prettier says not.

class Foo
{
    public const string PHP_VERSION = "8.3";
}

SyntaxError: Parse Error : syntax error, unexpected 'PHP_VERSION' (T_STRING), expecting '='

@bastoune
Copy link

Hi, is there any plan to release something soon about this ?

@cseufert
Copy link
Collaborator

cseufert commented Apr 4, 2024

Some fo the 8.3 syntax changes are not yet supported by php-prettier.

@lossendae
Copy link

Bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants