1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-18 06:58:08 +02:00

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

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

4
.phpcs.xml.dist Normal file

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