mirror of
https://github.com/Automattic/wordpress-activitypub
synced 2024-10-18 14:23:31 +00:00
ef666772ec
* PHPCS: Include all files by default * simplify menu highlighting * Update includes/transformer/class-factory.php Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com> --------- Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
34 lines
1 KiB
XML
34 lines
1 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="WordPress ActivityPub">
|
|
<description>WordPress ActivityPub Standards</description>
|
|
<file>.</file>
|
|
|
|
<exclude-pattern>*\.(inc|css|js|svg)</exclude-pattern>
|
|
<exclude-pattern>*/vendor/*</exclude-pattern>
|
|
<exclude-pattern>*/node_modules/*</exclude-pattern>
|
|
<exclude-pattern>*/tests/*</exclude-pattern>
|
|
<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"/>
|
|
|
|
<rule ref="PHPCompatibility"/>
|
|
<config name="testVersion" value="7.0-"/>
|
|
<rule ref="PHPCompatibilityWP"/>
|
|
<config name="minimum_supported_wp_version" value="4.7"/>
|
|
|
|
<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>
|
|
</ruleset>
|