Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
fix problem matcher regexp (#3)
Browse files Browse the repository at this point in the history
for cases where there is no basepath in phpcs.xml
  • Loading branch information
chekalsky authored Feb 10, 2020
1 parent d69478c commit e5deed9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'PHP CodeSniffer Check'
name: 'PHP_CodeSniffer Check'
description: 'PHPCS checker with annotations out of the box'
author: 'Ilya Chekalsky'
inputs:
Expand Down
2 changes: 1 addition & 1 deletion problem-matcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"severity": "error",
"pattern": [
{
"regexp": "^<file name=\"(.*)\">$",
"regexp": "^<file name=\"(?:\\/github\\/workspace\\/)?(.*)\">$",
"file": 1
},
{
Expand Down

0 comments on commit e5deed9

Please sign in to comment.