From ce564ddf1eaa05af75c66288c8bc0243a2242249 Mon Sep 17 00:00:00 2001 From: Volodymyr Shelmuk Date: Wed, 19 Feb 2025 16:45:22 +0200 Subject: [PATCH] Make sure we have valid JSON for PHPCS --- .github/workflows/phpcs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index a695ffd..ced4d4e 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -55,7 +55,7 @@ jobs: REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.access-token }} run: | # Run phpcs and capture both the output and the exit code - JSON_REPORT=$(vendor/bin/phpcs --report=json ${{ env.CHANGED_FILES }} || echo "") + JSON_REPORT=$(vendor/bin/phpcs --report=json -q ${{ env.CHANGED_FILES }} || echo "") PHPCS_EXIT_CODE=$? # Check if phpcs produced a JSON report