-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathruleset.xml
More file actions
29 lines (23 loc) · 989 Bytes
/
Copy pathruleset.xml
File metadata and controls
29 lines (23 loc) · 989 Bytes
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" encoding="UTF-8"?>
<!-- https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Annotated-Ruleset -->
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../vendor/squizlabs/php_codesniffer/phpcs.xsd"
name="AcquiaPHPMinimal"
>
<description>Acquia's PHP coding standards.</description>
<rule ref="PSR12"/>
<!-- Internal sniffs -->
<rule ref="Internal.NoCodeFound">
<!-- No PHP code in *.md, *.txt, or *.yml -->
<exclude-pattern>*.(md|txt|yml)</exclude-pattern>
</rule>
<!-- Apply indentation rules to comments and arrays. -->
<!-- @see https://github.com/squizlabs/PHP_CodeSniffer/issues/2314 -->
<!-- @see https://github.com/squizlabs/PHP_CodeSniffer/issues/1235 -->
<rule ref="Generic.WhiteSpace.ScopeIndent">
<properties>
<property name="ignoreIndentationTokens" type="array"/>
</properties>
</rule>
<rule ref="Generic.Arrays.ArrayIndent"/>
</ruleset>