From 52ad33b2ed5bf608eed80c7aa181ad619913ecc7 Mon Sep 17 00:00:00 2001 From: Stephen Page Date: Mon, 9 Jun 2025 12:13:20 -0400 Subject: [PATCH] Update phpcs.yml Alter the fail level to stop throwing deprecation errors on every run. see: https://github.com/reviewdog/reviewdog/blob/master/CHANGELOG.md#rotating_light-deprecation-warnings --- .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 5ebfbbd..6615b40 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -77,7 +77,7 @@ jobs: fi # Process JSON and run reviewdog - echo "$JSON_REPORT" | jq -r ' .files | to_entries[] | .key as $path | .value.messages[] as $msg | "\($path):\($msg.line):\($msg.column):`\($msg.source)`
\($msg.message)" ' | reviewdog -efm="%f:%l:%c:%m" -name="phpcs" -filter-mode="added" -fail-on-error=true -reporter=github-pr-review + echo "$JSON_REPORT" | jq -r ' .files | to_entries[] | .key as $path | .value.messages[] as $msg | "\($path):\($msg.line):\($msg.column):`\($msg.source)`
\($msg.message)" ' | reviewdog -efm="%f:%l:%c:%m" -name="phpcs" -filter-mode="added" -fail-level=any -reporter=github-pr-review # Exit with the original phpcs exit code exit $PHPCS_EXIT_CODE