From 842a1585dcf1dcb945116c7962fd7d710fb99c10 Mon Sep 17 00:00:00 2001 From: Gabo Date: Tue, 4 Aug 2020 16:40:50 -0500 Subject: [PATCH 1/2] Add missing php vars --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 144f2c19..96eee394 100644 --- a/Dockerfile +++ b/Dockerfile @@ -267,7 +267,10 @@ ENV ACTIONS_RUNNER_DEBUG=${ACTIONS_RUNNER_DEBUG} \ VALIDATE_OPENAPI=${VALIDATE_OPENAPI} \ VALIDATE_PERL=${VALIDATE_PERL} \ VALIDATE_PHP=${VALIDATE_PHP} \ + VALIDATE_PHP_BUILTIN=${VALIDATE_PHP_BUILTIN} \ + VALIDATE_PHP_PHPCS=${VALIDATE_PHP_PHPCS} \ VALIDATE_PHP_PHPSTAN=${VALIDATE_PHP_PHPSTAN} \ + VALIDATE_PHP_PSALM=${VALIDATE_PHP_PSALM} \ VALIDATE_POWERSHELL=${VALIDATE_POWERSHELL} \ VALIDATE_PROTOBUF=${VALIDATE_PROTOBUF} \ VALIDATE_PYTHON=${VALIDATE_PYTHON} \ From ad4ba7d4926d17b722c1ed0db2625a0a5f31c55a Mon Sep 17 00:00:00 2001 From: Gabo Date: Tue, 4 Aug 2020 16:41:02 -0500 Subject: [PATCH 2/2] Fix php var wrong default --- lib/linter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/linter.sh b/lib/linter.sh index 9772189c..6c1fda1f 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -183,7 +183,7 @@ VALIDATE_LUA="${VALIDATE_LUA}" # Boolean t VALIDATE_MARKDOWN="${VALIDATE_MD:-}" # Boolean to validate language VALIDATE_OPENAPI="${VALIDATE_OPENAPI}" # Boolean to validate language VALIDATE_PERL="${VALIDATE_PERL}" # Boolean to validate language -VALIDATE_PHP_BUILTIN="${VALIDATE_PHP:-VALIDATE_PHP_BUILTIN}" # Boolean to validate language +VALIDATE_PHP_BUILTIN="${VALIDATE_PHP:-$VALIDATE_PHP_BUILTIN}" # Boolean to validate language VALIDATE_PHP_PHPCS="${VALIDATE_PHP_PHPCS}" # Boolean to validate language VALIDATE_PHP_PHPSTAN="${VALIDATE_PHP_PHPSTAN}" # Boolean to validate language VALIDATE_PHP_PSALM="${VALIDATE_PHP_PSALM}" # Boolean to validate language