wordpress-activitypub/phpcs.xml

28 lines
1.1 KiB
XML
Raw Normal View History

2018-08-18 12:35:39 +02:00
<?xml version="1.0"?>
<ruleset name="WordPress ActivityPub">
<description>WordPress ActivityPub Standards</description>
<file>./activitypub.php</file>
<file>./includes/</file>
<config name="minimum_supported_wp_version" value="4.7"/>
2020-02-11 09:58:49 +01:00
<config name="installed_paths" value="vendor/phpcompatibility/php-compatibility" />
<config name="installed_paths" value="vendor/wp-coding-standards/wpcs" />
2019-09-27 10:12:59 +02:00
<exclude-pattern>*\.(inc|css|js|svg)</exclude-pattern>
2018-08-18 12:35:39 +02:00
<exclude-pattern>*/vendor/*</exclude-pattern>
2019-09-27 10:12:59 +02:00
<exclude-pattern>*/node_modules/*</exclude-pattern>
2018-08-18 12:35:39 +02:00
<rule ref="PHPCompatibility"/>
2018-10-02 22:15:49 +02:00
<config name="testVersion" value="5.6-"/>
2018-09-27 22:25:58 +02:00
<rule ref="WordPress-Core">
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
<exclude name="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned" />
</rule>
2018-08-18 12:35:39 +02:00
<rule ref="WordPress.Files.FileName">
<properties>
<property name="strict_class_file_names" value="false" />
</properties>
</rule>
<rule ref="WordPress.WP.DeprecatedFunctions" />
<rule ref="WordPress-Extra" />
<rule ref="WordPress.WP.I18n"/>
<config name="text_domain" value="activitypub,default"/>
</ruleset>