Add PHPUnit problem matcher

This commit is contained in:
Dec Norton
2019-11-24 16:35:21 +00:00
parent 1db0b0651d
commit 03f36220f4
4 changed files with 69 additions and 0 deletions

24
.github/matchers/phpunit.json vendored Normal file
View File

@ -0,0 +1,24 @@
{
"problemMatcher": [
{
"owner": "phpunit",
"pattern": [
{
"regexp": "^\\d+\\)\\s.*$"
},
{
"regexp": "^(.*)$",
"message": 1
},
{
"regexp": "^\\s*$"
},
{
"regexp": "^(.*):(\\d+)$",
"file": 1,
"line": 2
}
]
}
]
}