Mercurial > hg > isophonics-drupal-site
diff vendor/squizlabs/php_codesniffer/src/Standards/MySource/ruleset.xml @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/squizlabs/php_codesniffer/src/Standards/MySource/ruleset.xml Thu Feb 28 13:21:36 2019 +0000 @@ -0,0 +1,18 @@ +<?xml version="1.0"?> +<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="MySource" xsi:noNamespaceSchemaLocation="../../../phpcs.xsd"> + <description>The MySource coding standard builds on the Squiz coding standard. Currently used for MySource Mini development.</description> + + <exclude-pattern>*/Tests/*</exclude-pattern> + <exclude-pattern>*/Oven/*</exclude-pattern> + <exclude-pattern>*/data/*</exclude-pattern> + <exclude-pattern>*/jquery.js</exclude-pattern> + <exclude-pattern>*/jquery.*.js</exclude-pattern> + <exclude-pattern>*/viper/*</exclude-pattern> + <exclude-pattern>DALConf.inc</exclude-pattern> + + <!-- Include the whole Squiz standard except FunctionComment, which we override --> + <rule ref="Squiz"> + <exclude name="Squiz.Commenting.FunctionComment"/> + </rule> + +</ruleset>