mirror of
https://gh.wpcy.net/https://github.com/buddypress/buddypress.git
synced 2026-05-30 04:43:58 +08:00
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
19 lines
569 B
XML
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>
|