forked from centreon/centreon-archived
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ruleset.xml
30 lines (27 loc) · 1.08 KB
/
ruleset.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
<?xml version="1.0"?>
<ruleset name="Centreon Standard">
<description>Custom rules defined by Centreon</description>
<exclude-pattern>*/centreon-build/*</exclude-pattern>
<exclude-pattern>symfony/*</exclude-pattern>
<exclude-pattern>*/doc/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/lib/HTML/QuickForm.php$</exclude-pattern>
<exclude-pattern>*/lib/HTML/QuickForm/**/*.php$</exclude-pattern>
<exclude-pattern>*\.(?!(php$))$</exclude-pattern>
<rule ref="PSR12"/>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
<properties>
<property name="ignoreBlankLines" value="false"/>
</properties>
</rule>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>www</exclude-pattern>
<exclude-pattern>bootstrap.php</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>features</exclude-pattern>
<exclude-pattern>tests</exclude-pattern>
<exclude-pattern>www</exclude-pattern>
</rule>
</ruleset>