buddypress/phpcs.xml.dist
Renato Alves 86fd020e11 Testing BuddyPress against its own/new PHP Code Sniffer (PHPCS).
The plugin is using its own custom PHP Code Sniffer (https://github.com/buddypress/bp-coding-standards)

A non-blocking Github Action was introduced to test against this new code sniffer. Actual PHPCS fixes will be introduced in future commits.

Closes https://github.com/buddypress/buddypress/pull/21
See #7228

git-svn-id: https://buddypress.svn.wordpress.org/trunk@13324 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2022-09-11 18:22:23 +00:00

19 lines
569 B
XML

<?xml version="1.0"?>
<ruleset>
<description>PHP_CodeSniffer standard for the BuddyPress plugin.</description>
<!-- Load BuddyPress Coding standards -->
<rule ref="BuddyPress" />
<file>./bp-loader.php</file>
<file>./src/bp-xprofile</file>
<!-- We are starting with severity of 6. -->
<arg name="severity" value="6"/>
<!-- What to exclude -->
<exclude-pattern>*/**/tests/</exclude-pattern>
<!-- Whenever possible, cache the scan results and re-use those for unchanged files on the next scan. -->
<arg name="cache" value=".phpcs/cache.json" />
</ruleset>