Skip to content

Commit

Permalink
Updated codesniffer.yml - added --runtime-set ignore_warnings_on_exit 1
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanVester authored Nov 4, 2024
1 parent 872e3df commit 84f6e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codesniffer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
# Run PHP_CodeSniffer
- name: Run Code Sniffer on mod_homework
if: always()
run: phpcs server/moodle/mod/homework/
run: phpcs --runtime-set ignore_warnings_on_exit 1 server/moodle/mod/homework/

- name: Run Code Sniffer on block_homework
if: always()
run: phpcs server/moodle/blocks/homework/
run: phpcs --runtime-set ignore_warnings_on_exit 1 server/moodle/blocks/homework/

0 comments on commit 84f6e28

Please sign in to comment.