Php-language-server: Incorrect PHP error when `PHP Intellisense` extension is installed on VSCode

Created on 2 Dec 2017  路  3Comments  路  Source: felixfbecker/php-language-server

In the following function, VS Code shows an [php] '}' expected. error and adds a red marker under p_match.

function test() {
    ...
    return "<a ${t_url_href}${t_url_target}>${p_match[1]}</a>";
}

Versions:

  • VSCode Version: 1.18.1
  • OS Version: MacOS 10.13.1

Doesn't reproduce when running code --disable-extensions.

Most helpful comment

Version 2.3.10 still displays un-existent unclosed curly braces errors (just define a simple class to see).

All 3 comments

Version 2.3.10 still displays un-existent unclosed curly braces errors (just define a simple class to see).

A vers茫o 2.3.10 ainda exibe erros inexistentes de chaves n茫o fechadas (apenas defina uma classe simples para ver).

Hello, @cleoni

Version v2.3.14 still displays un-existent unclosed curly braces errors (just define a simple class to see).

Joabio Vilela
PHP Developer
+55 71 9 8693 9939
[email protected]
Acesse meu LinkedIn
Acesse meu Instagram
Acesse meu Facebook

Was this page helpful?
0 / 5 - 0 ratings