Skip to content

Commit

Permalink
force failure 3 vs 2
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed May 13, 2024
1 parent 1b23cb1 commit 7c2a74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
run: |
# 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
[[ "${PIPESTATUS[0]}" = 2 ]] || echo "Error: Expected 2, got ${PIPESTATUS[0]}"
[[ "${PIPESTATUS[0]}" = 3 ]] || echo "Error: Expected 3, got ${PIPESTATUS[0]}"
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).
Expand Down

0 comments on commit 7c2a74e

Please sign in to comment.