From a1c6246c7834203379f25acb03ba8ad7ad42c859 Mon Sep 17 00:00:00 2001 From: Damien Retzinger Date: Thu, 7 May 2026 09:15:18 -0400 Subject: [PATCH] fix(coding-standard): use exactly phpcs.xml if exists (#243) Inadvertently, the added period causes the `file` / `files` of phpcs to be ignored. This caused `vendor` to be linted. --- coding-standard/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coding-standard/action.yml b/coding-standard/action.yml index 7555a7a..aa00dc7 100644 --- a/coding-standard/action.yml +++ b/coding-standard/action.yml @@ -111,7 +111,7 @@ runs: [ -n "${{ inputs.error_severity }}" ] && FLAGS+=(--error-severity=${{ inputs.error_severity }}) || true if [ -f .phpcs.xml ] || [ -f phpcs.xml ] || [ -f .phpcs.xml.dist ] || [ -f phpcs.xml.dist ]; then - vendor/bin/phpcs "${FLAGS[@]}" . + vendor/bin/phpcs "${FLAGS[@]}" else vendor/bin/phpcs --standard=Magento2 --ignore=*vendor/* "${FLAGS[@]}" . fi