-
Notifications
You must be signed in to change notification settings - Fork 64
/
phpcs.xml
20 lines (17 loc) · 975 Bytes
/
phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<ruleset name="WebDevStudios PHPCS">
<!-- See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Annotated-ruleset.xml -->
<!-- See https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/develop/WordPress-Core/ruleset.xml -->
<!-- Set a description for this ruleset. -->
<description>A modified set of rules, based on the WordPress Coding Standards.</description>
<!-- Ignoring Files and Folders: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders -->
<exclude-pattern>/test/*</exclude-pattern>
<!-- Include the WordPress ruleset, with exclusions. -->
<rule ref="WebDevStudios">
<exclude name="Generic.PHP.Syntax" />
<exclude name="Generic.WhiteSpace.ScopeIndent.IncorrectExact" />
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect" />
<exclude name="PEAR.Functions.FunctionCallSignature.Indent" />
<exclude name="WordPress.Files.FileName" />
</rule>
</ruleset>