forked from johnzuk/php-click-meeting-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
49 lines (43 loc) · 1.83 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0"?>
<ruleset name="php-click-meeting-api">
<rule ref="PSR2">
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace"/>
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing"/>
<exclude name="Generic.Files.LineLength"/>
</rule>
<rule ref="PEAR.ControlStructures.ControlSignature"/>
<rule ref="Squiz.Classes"/>
<rule ref="Squiz.Functions"/>
<rule ref="Squiz.Scope"/>
<rule ref="PSR12"/>
<rule ref="MySource.Channels.DisallowSelfActions"/>
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall"/>
<rule ref="Generic.CodeAnalysis.JumbledIncrementer"/>
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
<rule ref="Generic.Files.EndFileNewline"/>
<rule ref="Generic.Files.LineLength"/>
<rule ref="Generic.Files.OneClassPerFile"/>
<rule ref="Generic.Files.OneInterfacePerFile"/>
<rule ref="Generic.Files.OneTraitPerFile"/>
<rule ref="Generic.Functions.CallTimePassByReference"/>
<rule ref="Generic.Metrics.NestingLevel"/>
<rule ref="Generic.Metrics.CyclomaticComplexity"/>
<rule ref="Generic.PHP.BacktickOperator"/>
<rule ref="Generic.PHP.DisallowAlternativePHPTags"/>
<rule ref="Generic.PHP.NoSilencedErrors"/>
<rule ref="Generic.PHP.SAPIUsage"/>
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
<rule ref="Generic.Files.LineEndings">
<properties>
<property name="eolChar" value="\n"/>
</properties>
</rule>
<rule ref="Generic.Files.LineLength">
<properties>
<property name="lineLimit" value="120"/>
<property name="absoluteLineLimit" value="0"/>
<property name="ignoreComments" value="true"/>
</properties>
</rule>
</ruleset>