wordpress-activitypub/phpcs.xml

37 lines
1.1 KiB
XML
Raw Normal View History

2018-08-18 10:35:39 +00:00
<?xml version="1.0"?>
<ruleset name="WordPress ActivityPub">
<description>WordPress ActivityPub Standards</description>
<file>./activitypub.php</file>
<file>./includes/</file>
<file>./integration/</file>
<file>./build/</file>
2019-09-27 08:12:59 +00:00
<exclude-pattern>*\.(inc|css|js|svg)</exclude-pattern>
2018-08-18 10:35:39 +00:00
<exclude-pattern>*/vendor/*</exclude-pattern>
2019-09-27 08:12:59 +00:00
<exclude-pattern>*/node_modules/*</exclude-pattern>
2024-02-22 15:32:16 +00:00
<exclude-pattern>*.asset.php</exclude-pattern>
<arg value="ps"/>
<arg name="basepath" value="."/><!-- Strip the file paths down to the relevant bit -->
<arg name="colors"/>
<arg name="parallel" value="50"/>
2018-08-18 10:35:39 +00:00
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="7.0-"/>
2022-01-27 11:14:38 +00:00
<rule ref="PHPCompatibilityWP"/>
<config name="minimum_supported_wp_version" value="4.7"/>
2018-08-18 10:35:39 +00:00
<config name="text_domain" value="activitypub,default"/>
<rule ref="WordPress"/>
<rule ref="VariableAnalysis"/>
<rule ref="WordPress.WP.Capabilities">
<properties>
<property name="custom_capabilities" type="array">
<element value="activitypub" />
</property>
</properties>
</rule>
2018-08-18 10:35:39 +00:00
</ruleset>