Skip to content
Snippets Groups Projects

#3380694 Run PHPCS in projects own folder

Compare and
5 files
+ 111
24
Compare changes
  • Side-by-side
  • Inline
Files
5
+ 11
3
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="drupal-project">
<description>Default PHP CodeSniffer configuration for Drupal project.</description>
<rule ref="vendor/drupal/coder/coder_sniffer/Drupal/ruleset.xml"/>
<ruleset name="drupal-contrib-project">
<!-- Change the name and description if you copy this file to your project to make customizations. -->
<description>Default PHP CodeSniffer configuration for a Drupal contrib project.</description>
<!-- Include all rules in the Drupal ruleset. -->
<rule ref="Drupal"/>
<!-- Include all rules in the DrupalPractice ruleset. Uncomment if required -->
<!-- <rule ref="DrupalPractice"/> -->
<arg name="extensions" value="php,inc,module,install,info,test,profile,theme"/>
</ruleset>
Loading