MDL-74511 core: Add phpcs default config

This commit is contained in:
Andrew Nicols 2022-05-06 11:30:06 +08:00
parent 38fff2d83f
commit 1b18a4c142
2 changed files with 5 additions and 1 deletions

View file

@ -39,7 +39,7 @@ module.exports = grunt => {
{ {
rule: { rule: {
_attrs: { _attrs: {
ref: 'moodle', ref: './.phpcs.xml.dist',
}, },
}, },
}, },

4
.phpcs.xml.dist Normal file
View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="MoodleCore">
<rule ref="moodle"/>
</ruleset>