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

Commit 2c59d13

Browse files
authored
Bugfix on warnings (#5)
Thanks @ocean90
1 parent e5deed9 commit 2c59d13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ echo "::add-matcher::${RUNNER_TEMP}/_github_workflow/problem-matcher.json"
77
if [ -z "${INPUT_ENABLE_WARNINGS}" ] || [ "${INPUT_ENABLE_WARNINGS}" = "false" ]; then
88
echo "Check for warnings disabled"
99

10-
phpcs --report=checkstyle
10+
phpcs -n --report=checkstyle
1111
else
1212
echo "Check for warnings enabled"
1313

14-
phpcs -w --report=checkstyle
14+
phpcs --report=checkstyle
1515
fi
1616

1717
status=$?

0 commit comments

Comments
 (0)