We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 389830f commit 810a570Copy full SHA for 810a570
.github/workflows/check-extension.yaml
@@ -187,7 +187,11 @@ jobs:
187
- name: Coding Standard Check
188
shell: bash
189
run: |
190
- ./vendor/bin/phpcs --standard=Magento2 --ignore=*vendor/* .
+ if [ -f .phpcs.xml ] || [ -f phpcs.xml ] || [ -f .phpcs.xml.dist ] || [ -f phpcs.xml.dist ]; then
191
+ ./vendor/bin/phpcs .
192
+ else
193
+ ./vendor/bin/phpcs --standard=Magento2 --ignore=*vendor/* .
194
+ fi
195
working-directory: ${{ inputs.path }}
196
197
integration_test:
0 commit comments