Skip to content

Commit

Permalink
fa
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed May 13, 2024
1 parent ef093ce commit 8981555
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 @@ -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).
Expand Down

0 comments on commit 8981555

Please sign in to comment.