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

Commit

Permalink
Bugfix on warnings (#5)
Browse files Browse the repository at this point in the history
Thanks @ocean90
  • Loading branch information
ocean90 authored Mar 31, 2020
1 parent e5deed9 commit 2c59d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ echo "::add-matcher::${RUNNER_TEMP}/_github_workflow/problem-matcher.json"
if [ -z "${INPUT_ENABLE_WARNINGS}" ] || [ "${INPUT_ENABLE_WARNINGS}" = "false" ]; then
echo "Check for warnings disabled"

phpcs --report=checkstyle
phpcs -n --report=checkstyle
else
echo "Check for warnings enabled"

phpcs -w --report=checkstyle
phpcs --report=checkstyle
fi

status=$?
Expand Down

0 comments on commit 2c59d13

Please sign in to comment.