[PHP] Syntax highlighting does not recognize code comments in some cases #7119
-
I came across these lines of code in our repo: $test = DB::table('test')
// ->select('foo')
->select('bar'); Obviously, An MRE could look like this: $foo = 'foo'
// comment
; More examples of this issue: $bar= 'bar'
/* comment */
;
$baz = 'baz'/*
comment
*/
; For reference, this is how the code snippets look in PhpStorm: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I just read docs/troubleshooting.md - There's a problem with the syntax highlighting of a file, so I guess this is not the correct place to report this issue. I will report it to the PHP syntax highlighter instead. |
Beta Was this translation helpful? Give feedback.
For reference: