Curly bracket in string detected as error

Hi,


I'm keep seeing <expression> expected error-message under the right curly bracket ( } ) in the following example string. It is not string specific, you can see this error-message as soon as you put a pair of curly bracket in a string.

$sql = 'SELECT * FROM table WHERE id<>{id} AND another={another} LIMIT 1';

Would you mind to advise me or fix it?

Thanks!

0
1 comment

This a known issue: https://youtrack.jetbrains.com/issue/WI-32917

Please vote for it in order to move it up in the queue and receive notifications regarding the progress of the feature. See more information on this at https://intellij-support.jetbrains.com/hc/en-us/articles/207241135.

0

Please sign in to leave a comment.