File: phpcs.xml

package info (click to toggle)
mariadb-mysql-kbs 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 7,516 kB
  • sloc: php: 1,038; javascript: 388; sh: 220; xml: 57; makefile: 8
file content (43 lines) | stat: -rw-r--r-- 1,728 bytes parent folder | download
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
<?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">

    <!-- Show progress and sniff codes -->
    <arg value="ps"/>
    <!-- Cache file -->
    <arg name="cache" value=".php_cs.cache"/>
    <!-- Enable colors -->
    <arg name="colors"/>
    <!-- Make sniff report relative -->
    <arg name="basepath" value="."/>

    <file>.</file>
    <exclude-pattern>*/tmp/*</exclude-pattern>
    <exclude-pattern>*/vendor/*</exclude-pattern>
    <exclude-pattern>*/dist/*</exclude-pattern>
    <exclude-pattern>*/build/*</exclude-pattern>
    <exclude-pattern>*/node_modules/*</exclude-pattern>
    <rule ref="Wdes"></rule>

    <rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
        <exclude-pattern>*/src/merge.php</exclude-pattern>
    </rule>
    <rule ref="Generic.Files.LineLength.TooLong">
        <exclude-pattern>*/src/merge.php</exclude-pattern>
    </rule>
    <rule ref="PEAR.ControlStructures.MultiLineCondition.Alignment">
        <exclude-pattern>*/src/merge.php</exclude-pattern>
    </rule>
    <rule ref="PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace">
        <exclude-pattern>*/src/merge.php</exclude-pattern>
    </rule>
    <rule ref="PEAR.ControlStructures.MultiLineCondition.SpacingAfterOpenBrace">
        <exclude-pattern>*/src/merge.php</exclude-pattern>
    </rule>
    <rule ref="PEAR.ControlStructures.MultiLineCondition.StartWithBoolean">
        <exclude-pattern>*/src/merge.php</exclude-pattern>
    </rule>
    <rule ref="Generic.Metrics.NestingLevel.TooHigh">
        <exclude-pattern>*/src/SlimData.php</exclude-pattern>
    </rule>

</ruleset>