From 592f2279c8e1f0cb9d4ac14d444e1b5894f97a0c Mon Sep 17 00:00:00 2001 From: Guite Date: Wed, 11 Dec 2019 14:01:55 +0100 Subject: [PATCH] adjust phpcs severity --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index aac221e..256f510 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -166,7 +166,7 @@ fi if [ "$TOOLS" = "all" ] || [[ "$TOOLS" == *",phpcs,"* ]]; then echo "Checks: coding style" # see https://github.com/squizlabs/PHP_CodeSniffer - ${TOOL_BIN_PATH}phpcs --standard=${TOOL_CONFIG_PATH}phpcs.xml --extensions=php --ignore="${VENDOR_PATH}" "${MODULE_PATH}" --report=full + ${TOOL_BIN_PATH}phpcs --standard=${TOOL_CONFIG_PATH}phpcs.xml --extensions=php --warning-severity=0 --ignore="${VENDOR_PATH}" "${MODULE_PATH}" --report=full fi if [ "$TOOLS" = "all" ] || [[ "$TOOLS" == *",php-cs-fixer,"* ]]; then echo "Checks: fix coding style"