Welcome to mirror list, hosted at ThFree Co, Russian Federation.

phpcs.xml.dist - github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8b6c5f136f38e3fb1fe91805aaa4ccc2156feea1 (plain)
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
<?xml version="1.0"?>
<ruleset name="phpMyAdmin Coding Standard">
    <rule ref="PMAStandard">
        <exclude name="Generic.Metrics.NestingLevel.TooHigh"/>
        <exclude name="PSR1.Files.SideEffects.FoundWithSymbols"/>
        <exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/>
        <exclude name="PSR1.Classes.ClassDeclaration.MultipleClasses"/>
        <exclude name="Squiz.Classes.ValidClassName.NotCamelCaps"/>
        <exclude name="PMAStandard.Commenting.FileComment.Missing"/>
        <exclude name="PMAStandard.Commenting.ClassComment.Missing"/>
        <exclude name="PMAStandard.Commenting.ClassComment.MissingPackageTag"/>
        <exclude name="PMAStandard.Commenting.FunctionComment.Missing"/>
        <exclude name="PMAStandard.Commenting.FunctionComment.MissingParamComment"/>
        <exclude name="PMAStandard.Commenting.FunctionComment.MissingParamName"/>
        <exclude name="PMAStandard.Commenting.FunctionComment.MissingParamTag"/>
        <exclude name="PMAStandard.Commenting.FunctionComment.MissingReturn"/>
        <exclude name="PMAStandard.Commenting.FunctionComment.ExtraParamComment"/>
        <exclude name="PMAStandard.Commenting.FunctionComment.ParamNameNoMatch"/>
        <exclude name="PMAStandard.Commenting.FunctionComment.SpacingAfter"/>
        <exclude name="PMAStandard.Files.SpacesAroundConcat.Found"/>
    </rule>

    <arg value="sp"/>
    <arg name="colors"/>
    <arg name="extensions" value="php"/>

    <exclude-pattern>*/build/*</exclude-pattern>
    <exclude-pattern>*/node_modules/*</exclude-pattern>
    <exclude-pattern>*/tmp/*</exclude-pattern>
    <exclude-pattern>*/vendor/*</exclude-pattern>

    <file>.</file>
</ruleset>