wordpress-activitypub/phpcs.xml
Konstantin Obenland ef666772ec
PHPCS: Include all files by default (#930)
* 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>
2024-10-09 08:57:13 +02:00

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>