Syntax highlighting fails for DNF in PHP docblocks #209758
Labels
grammar
Syntax highlighting grammar
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
upstream-issue-linked
This is an upstream issue that has been reported upstream
Type: Bug
The syntax highlighting in docblocks for PHP code fails when a parameter has DNF in the type declaration, for example:
In this case, text after
ClassA|(ClassB&ClassC)
continues to be highlighted as if it continues as the type declaration, until the end of the docblock.Related links:
VS Code version: Code 1.88.0 (5c3e652, 2024-04-03T13:26:18.741Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (13)
A/B Experiments
The text was updated successfully, but these errors were encountered: