-
Notifications
You must be signed in to change notification settings - Fork 0
/
.phpcs.xml
34 lines (30 loc) · 1015 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
29
30
31
32
33
34
<?xml version="1.0"?>
<ruleset>
<!--
Piwigo coding conventions:
http://piwigo.org/doc/doku.php?id=dev:coding_conventions
-->
<rule ref="Generic.Arrays.ArrayIndent">
<properties>
<property name="indent" value="2" />
</properties>
</rule>
<rule ref="Generic.WhiteSpace.ScopeIndent">
<properties>
<property name="exact" value="true" />
<property name="indent" value="2" />
</properties>
</rule>
<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman" />
<rule ref="Generic.Arrays.DisallowShortArraySyntax" />
<rule ref="Squiz.Strings.ConcatenationSpacing" />
<rule ref="Generic.Files.LineEndings" />
<rule ref="Generic.Files.LineLength">
<properties>
<property name="absoluteLineLimit" value="79" />
</properties>
</rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace" />
<file>.</file>
<exclude-pattern>./vendor</exclude-pattern>
</ruleset>