Skip to content

Commit e4036be

Browse files
authored
Update action.yml use right standard
1 parent e974209 commit e4036be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ runs:
126126
if [ ${PHPCBF_EXIT_CODE} -ne 0 ]; then
127127
echo "::notice title=phpcbf wasn't idle::Non-zero code exit of phpcbf = ${PHPCBF_EXIT_CODE} ... phpcbf wasn't idle"
128128
129-
vendor/bin/phpcs --extensions="${{ inputs.extensions }}" . --standard="$use_standard" --ignore="${{ inputs.ignore }}" || MORE_ISSUES=true
129+
vendor/bin/phpcs --extensions="${{ inputs.extensions }}" . --standard="${{ env.USE_STANDARD }}" --ignore="${{ inputs.ignore }}" || MORE_ISSUES=true
130130
# because of `||`, the previous command always exit 0
131131
if [ "${MORE_ISSUES}" = "true" ]; then
132132
echo "::warning title=Some phpcs issues remained.::Some phpcs issues remained. Manual fix necessary."

0 commit comments

Comments
 (0)