From 8981555cf010f2a9497a2c48c5ec764ed6ad4241 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Mon, 13 May 2024 17:13:24 +0200 Subject: [PATCH] fa --- .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 28403d4..3f46a89 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -68,7 +68,7 @@ jobs: # There is one failure (exit with error 2, because some are fixable). vendor/bin/phpcs --standard=moodle moodle/Tests/fixtures/integration_test_ci.php | tee output.txt exitcode="${PIPESTATUS[0]}" - [[ "${exitcode}" = 2 ]] && echo "Ok" || $(echo "Error: Expected 3, got ${exitcode}" && exit 1) + [[ "${exitcode}" = 3 ]] && echo "Ok" || $(echo "Error: Expected 3, got ${exitcode}" && exit 1) grep -q "PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY" output.txt # The failure is fixed (exit with error 1, because all fixable ones were fixed).