mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Merge pull request #196166 from zobo/fix-php-validation-range
fix: invalid endCharacter value in built in PHP validation provider
This commit is contained in:
commit
53249fc26b
|
@ -197,7 +197,7 @@ export default class PHPValidationProvider {
|
|||
const message = matches[1];
|
||||
const line = parseInt(matches[3]) - 1;
|
||||
const diagnostic: vscode.Diagnostic = new vscode.Diagnostic(
|
||||
new vscode.Range(line, 0, line, Number.MAX_VALUE),
|
||||
new vscode.Range(line, 0, line, 2 ** 31 - 1), // See https://github.com/microsoft/vscode/issues/80288#issuecomment-650636442 for discussion
|
||||
message
|
||||
);
|
||||
diagnostics.push(diagnostic);
|
||||
|
|
Loading…
Reference in a new issue