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 - Typed class constants #3170

Closed
petski opened this issue Jan 25, 2025 · 2 comments
Closed

PHP 8.3 - Typed class constants #3170

petski opened this issue Jan 25, 2025 · 2 comments

Comments

@petski
Copy link

petski commented Jan 25, 2025

As of PHP 8.3, PHP has typed class constants.

It seems that - at least regarding highlighting - it's not supported or inconsistent:

Image

Without any knowledge in this area, it seems the textmate scopes is missing something like constant.type.php.

Typed class constant Typed class property
Image Image

Probably related to #1021

P.S. Thanks for this amazing software (!)

@bmewburn
Copy link
Owner

Vscode provides the highlighting here. Tracking solution in #1021

@petski
Copy link
Author

petski commented Jan 28, 2025

Thanks. Upstream reference is at KapitanOczywisty/language-php#20

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

2 participants