Created
September 9, 2021 12:11
-
-
Save FunctionDJ/5a9cae80511a2a24202386347cb55286 to your computer and use it in GitHub Desktop.
PHPStan problem matcher for VSCode tasks.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"owner": "phpstan", | |
"source": "phpstan", | |
"severity": "error", | |
"fileLocation": ["relative", "${workspaceFolder}"], | |
"pattern": [ | |
{ | |
"regexp": "^\\s*Line\\s*(.*)$", | |
"file": 1, | |
}, | |
{ | |
"regexp": "^[\\s-]*$" | |
}, | |
{ | |
"regexp": "^\\s*(\\d+)\\s+(.*)\\s*$", | |
"line": 1, | |
"message": 2, | |
"loop": true | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment