Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/10-homework-teacher-feature-be-a…
Browse files Browse the repository at this point in the history
…ble-to-add-links-for-other-sources' into 10-homework-teacher-feature-be-able-to-add-links-for-other-sources
  • Loading branch information
AllanVester committed Oct 18, 2024
2 parents b272cb5 + 46133ed commit 4f8a82e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/codesniffer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ jobs:
- name: Add Composer global bin to PATH
run: echo "PATH=$HOME/.composer/vendor/bin:$PATH" >> $GITHUB_ENV

# Create .phpcs.xml file with required content
- name: Create .phpcs.xml file
run: |
cat <<EOT >> ./.phpcs.xml
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="MoodleCore">
<rule ref="moodle-extra"/>
</ruleset>
EOT
# Run PHP_CodeSniffer
- name: Run Code Sniffer
run: phpcs server/moodle/mod/homework/

0 comments on commit 4f8a82e

Please sign in to comment.