diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 2aab79c..1807bb9 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -114,7 +114,7 @@ jobs: # Run Coding Standards on Tests. - name: Run Coding Standards on Tests working-directory: ${{ env.PLUGIN_DIR }} - if: ${{ matrix.php-versions == '8.1' || matrix.php-versions == '8.2' || matrix.php-versions == '8.3' || matrix.php-versions == '8.4' }} + if: ${{ contains('8.1 8.2 8.3 8.4', matrix.php-versions) }} run: php vendor/bin/phpcs -q --standard=phpcs.tests.xml --report=checkstyle ./tests | cs2pr # Run WordPress Coding Standards on Plugin.