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

.phpcs.xml - github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: da3854a5343289ecdfc7a47c7ebe4801e0f3109d (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="Slim coding standard">
    <description>Slim coding standard</description>
      <!-- Paths to check -->
     <file>tests</file>
     <file>src</file>

    <exclude-pattern>*/src/router\.php$</exclude-pattern>
     <exclude-pattern>*/src/translations/.*$</exclude-pattern>
    <!-- display progress -->
    <arg value="p"/>
    <!-- use colors in output -->
    <arg name="colors"/>

    <!-- inherit rules from: -->
    <!-- inherit rules from: -->
<rule ref="PSR2">
    <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
    <exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
</rule>
<rule ref="PSR1">
    <exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"/>
</rule>

  <rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
 <rule ref="Generic.Files.LineLength">
  <properties>
   <property name="lineLimit" value="170"/>
   <property name="absoluteLineLimit" value="190"/>
  </properties>
 </rule>  
</ruleset>