feat(check-extension): prefer phpcs conf if it exists

This commit is contained in:
Damien Retzinger
2025-12-15 16:33:09 -05:00
parent 389830f189
commit 810a5705cf
+4
View File
@@ -187,7 +187,11 @@ jobs:
- name: Coding Standard Check
shell: bash
run: |
if [ -f .phpcs.xml ] || [ -f phpcs.xml ] || [ -f .phpcs.xml.dist ] || [ -f phpcs.xml.dist ]; then
./vendor/bin/phpcs .
else
./vendor/bin/phpcs --standard=Magento2 --ignore=*vendor/* .
fi
working-directory: ${{ inputs.path }}
integration_test: