diff --git a/src/configs/pm/phpunit.json b/src/configs/pm/phpunit.json index 2cc9dab1..67ef3aca 100644 --- a/src/configs/pm/phpunit.json +++ b/src/configs/pm/phpunit.json @@ -3,21 +3,72 @@ { "owner": "phpunit", "pattern": [ - { - "regexp": "^\\d+\\)\\s.*$" - }, - { - "regexp": "^(.*Failed\\sasserting\\sthat.*)$", - "message": 1 - }, - { - "regexp": "^\\s*$" - }, - { - "regexp": "^(.*):(\\d+)$", - "file": 1, - "line": 2 - } + { "regexp": "^\\d+\\)\\s.*$" }, + { "regexp": "^(.*Failed\\sasserting\\sthat.*)$", "message": 1 }, + { "regexp": "^\\s*$" }, + { "regexp": "^(.*):(\\d+)$", "file": 1, "line": 2 } + ] + }, + { + "owner": "phpunit-no-blank", + "pattern": [ + { "regexp": "^\\d+\\)\\s.*$" }, + { "regexp": "^(.*Failed\\sasserting\\sthat.*)$", "message": 1 }, + { "regexp": "^(.*):(\\d+)$", "file": 1, "line": 2 } + ] + }, + { + "owner": "phpunit-custom-message", + "pattern": [ + { "regexp": "^\\d+\\)\\s.*$" }, + { "regexp": "^(?!.*Failed\\sasserting)(?!.*:\\d+$)(.+)$", "message": 1 }, + { "regexp": "^.*Failed\\sasserting\\sthat.*$" }, + { "regexp": "^(.*):(\\d+)$", "file": 1, "line": 2 } + ] + }, + { + "owner": "phpunit-custom-message-blank", + "pattern": [ + { "regexp": "^\\d+\\)\\s.*$" }, + { "regexp": "^(?!.*Failed\\sasserting)(?!.*:\\d+$)(.+)$", "message": 1 }, + { "regexp": "^.*Failed\\sasserting\\sthat.*$" }, + { "regexp": "^\\s*$" }, + { "regexp": "^(.*):(\\d+)$", "file": 1, "line": 2 } + ] + }, + { + "owner": "phpunit-other-blank", + "severity": "warning", + "pattern": [ + { "regexp": "^\\d+\\)\\s.*$" }, + { "regexp": "^(?!.*Failed\\sasserting)(?!.*:\\d+$)(.+)$", "message": 1 }, + { "regexp": "^\\s*$" }, + { "regexp": "^(.*):(\\d+)$", "file": 1, "line": 2 } + ] + }, + { + "owner": "phpunit-other", + "severity": "warning", + "pattern": [ + { "regexp": "^\\d+\\)\\s.*$" }, + { "regexp": "^(?!.*Failed\\sasserting)(?!.*:\\d+$)(.+)$", "message": 1 }, + { "regexp": "^(.*):(\\d+)$", "file": 1, "line": 2 } + ] + }, + { + "owner": "phpunit-skipped-no-reason", + "severity": "warning", + "pattern": [ + { "regexp": "^(\\d+\\)\\s.*)$", "message": 1 }, + { "regexp": "^(.*):(\\d+)$", "file": 1, "line": 2 } + ] + }, + { + "owner": "phpunit-skipped-depends", + "severity": "warning", + "pattern": [ + { "regexp": "^\\d+\\)\\s(.*)$" }, + { "regexp": "^(This test depends on .*)$", "message": 1 } ] } ]