diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index ca767f9..f378192 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -19,6 +19,9 @@ jobs: php-version: '8.1' tools: composer + - name: Configure Composer allow-plugins + run: composer config --no-plugins allow-plugins.dealerdirect/phpcodesniffer-composer-installer true + - name: Install dependencies run: composer install @@ -28,7 +31,7 @@ jobs: composer require phpmd/phpmd - name: Run PHP Mess Detector - run: vendor/bin/phpmd . text cleancode,codesize,controversial,design,naming,unusedcode + run: vendor/bin/phpmd . text cleancode,codesize,controversial,design,naming,unusedcode --exclude vendor - name: Run PHP CodeSniffer run: vendor/bin/phpcs --standard=PSR12,Magento2 .