mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 08:09:47 +02:00
MDL-74511 core: Add phpcs default config
This commit is contained in:
parent
38fff2d83f
commit
1b18a4c142
2 changed files with 5 additions and 1 deletions
|
@ -39,7 +39,7 @@ module.exports = grunt => {
|
||||||
{
|
{
|
||||||
rule: {
|
rule: {
|
||||||
_attrs: {
|
_attrs: {
|
||||||
ref: 'moodle',
|
ref: './.phpcs.xml.dist',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
4
.phpcs.xml.dist
Normal file
4
.phpcs.xml.dist
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ruleset name="MoodleCore">
|
||||||
|
<rule ref="moodle"/>
|
||||||
|
</ruleset>
|
Loading…
Add table
Add a link
Reference in a new issue