.phpcs.xml
<?xml version="1.0"?>
<ruleset name="PHPCS rule set">
<description>Custom rule set.</description>
<file>.</file>
<exclude-pattern>.bin</exclude-pattern>
<exclude-pattern>build</exclude-pattern>
<exclude-pattern>cache</exclude-pattern>
<exclude-pattern>doc</exclude-pattern>
<exclude-pattern>htdocs</exclude-pattern>
<exclude-pattern>test/config.php</exclude-pattern>
<exclude-pattern>theme</exclude-pattern>
<exclude-pattern>vendor</exclude-pattern>
<arg name="encoding" value="utf-8"/>
<arg name="warning-severity" value="0"/>
<rule ref="PSR2" />
</ruleset>