-
Notifications
You must be signed in to change notification settings - Fork 60
/
phpcs.xml
25 lines (21 loc) · 953 Bytes
/
phpcs.xml
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
<?xml version="1.0"?>
<ruleset name="wp-bootstrap-blocks">
<description>Coding standards for wp-bootstrap-blocks</description>
<arg value="ps"/>
<arg name="extensions" value="php"/>
<file>./wp-bootstrap-blocks.php</file>
<file>./src</file>
<file>./e2e-test-plugins</file>
<file>./phpunit</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>./src/*\.(inc|css|js)$</exclude-pattern>
<exclude-pattern>./e2e-test-plugins/*\.(inc|css|js)$</exclude-pattern>
<exclude-pattern>./playwright/*</exclude-pattern>
<rule ref="WordPress">
<exclude name="Squiz.Commenting.InlineComment.InvalidEndChar" />
<exclude name="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned" />
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSameWarning" />
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed" />
</rule>
</ruleset>