forked from Automattic/jetpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpcs.xml.dist
29 lines (24 loc) · 878 Bytes
/
.phpcs.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0"?>
<ruleset>
<!-- Load configuration. -->
<rule ref="./.phpcs.config.xml" />
<!-- Default ruleset. -->
<rule ref="Jetpack" />
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<!-- Dummy entry, projects should override this in .phpcs.dir.xml. -->
<element value="no text domain is set in this in this project's .phpcs.dir.xml"/>
</property>
</properties>
</rule>
<rule ref="Jetpack.Functions.I18n">
<properties>
<property name="text_domain" value="no text domain is set in this in this project's .phpcs.dir.xml" />
</properties>
</rule>
<!-- WordPress-Extra pulls this in. But PHP linting can be run more efficiently via bin/parallel-lint.sh than by having phpcs shell out to `php -l`. -->
<rule ref="Generic.PHP.Syntax">
<exclude name="Generic.PHP.Syntax" />
</rule>
</ruleset>