forked from nextcloud/cms_pico
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpcs.xml
28 lines (24 loc) · 865 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
26
27
28
<?xml version="1.0"?>
<ruleset name="Pico CMS for Nextcloud">
<file>.</file>
<exclude-pattern>./appdata/plugins/*</exclude-pattern>
<exclude-pattern>./appdata/themes/*</exclude-pattern>
<exclude-pattern>./build/*</exclude-pattern>
<exclude-pattern>./l10n/*</exclude-pattern>
<exclude-pattern>./tests/*</exclude-pattern>
<exclude-pattern>./vendor/*</exclude-pattern>
<exclude-pattern>./nextcloud/*</exclude-pattern>
<exclude-pattern>*.css</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
<rule ref="PSR12">
<exclude name="Generic.WhiteSpace.DisallowTabIndent"/>
</rule>
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
<arg name="tab-width" value="4"/>
<rule ref="Generic.WhiteSpace.ScopeIndent">
<properties>
<property name="indent" value="4"/>
<property name="tabIndent" value="true"/>
</properties>
</rule>
</ruleset>