From 2c59d139638c06d303629ccaa61c6515070e2aef Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Tue, 31 Mar 2020 17:23:52 +0200 Subject: [PATCH] Bugfix on warnings (#5) Thanks @ocean90 --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 5e9d18c..d3cc884 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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=$?