diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml index ce65e81..3a92acb 100644 --- a/.github/workflows/phpcs.yml +++ b/.github/workflows/phpcs.yml @@ -66,7 +66,7 @@ jobs: if: ${{ !cancelled() && matrix.os == 'ubuntu-latest' }} run: | # There is one failure (exit with error 2, because some are fixable). - expectedcode=2 + expectedcode=22 vendor/bin/phpcs --standard=moodle moodle/Tests/fixtures/integration_test_ci.php | tee output.txt exitcode="${PIPESTATUS[0]}" if [[ "${exitcode}" = "${expectedcode}" ]]; then