diff --git a/.gitignore b/.gitignore index 08f2ef7b164..17c654470d7 100644 --- a/.gitignore +++ b/.gitignore @@ -54,5 +54,5 @@ moodle-plugin-ci.phar /admin/tool/componentlibrary/docs /admin/tool/componentlibrary/hugo/site/data/my-index.json .hugo_build.lock -.phpcs.xml +phpcs.xml jsconfig.json diff --git a/.grunt/tasks/ignorefiles.js b/.grunt/tasks/ignorefiles.js index 153e03fee7f..feb2db43757 100644 --- a/.grunt/tasks/ignorefiles.js +++ b/.grunt/tasks/ignorefiles.js @@ -39,7 +39,7 @@ module.exports = grunt => { { rule: { _attrs: { - ref: './.phpcs.xml.dist', + ref: './phpcs.xml.dist', }, }, }, @@ -52,7 +52,7 @@ module.exports = grunt => { }); }); - grunt.file.write('.phpcs.xml', toXML(config, { + grunt.file.write('phpcs.xml', toXML(config, { header: true, indent: ' ', }) + "\n"); diff --git a/.phpcs.xml.dist b/phpcs.xml.dist similarity index 100% rename from .phpcs.xml.dist rename to phpcs.xml.dist