From ff8d8d41667f78bc00cca51194466102ec3e982a Mon Sep 17 00:00:00 2001 From: Terence Ong Date: Mon, 13 Apr 2026 09:09:42 +0700 Subject: [PATCH] fix: combine composer global require calls in deploy workflow Co-Authored-By: Claude Opus 4.6 --- .github/workflows/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 56c9ac8..3b69618 100755 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,8 +30,7 @@ jobs: - name: Install WordPress Coding Standards run: | - composer global require "wp-coding-standards/wpcs:^3.0" --no-interaction - composer global require "phpcsstandards/phpcsutils:^1.0" --no-interaction + composer global require "wp-coding-standards/wpcs:^3.0" "phpcsstandards/phpcsutils:^1.0" --no-interaction phpcs --config-set installed_paths "$(composer global config home)/vendor/wp-coding-standards/wpcs" - name: Run PHPCS (WordPress standards)