forked from php-java/php-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
32 lines (24 loc) · 1.13 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
<ruleset name="PHPJava Standards">
<description>The PHPJava Coding Standards</description>
<exclude-pattern>./tests</exclude-pattern>
<rule ref="PSR2">
<exclude name="Generic.Files.LineLength.TooLong"/>
</rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<exclude-pattern>./src/Kernel/Types</exclude-pattern>
<exclude-pattern>./src/Kernel/Mnemonics</exclude-pattern>
<exclude-pattern>./src/Kernel/Structures</exclude-pattern>
<exclude-pattern>./src/Packages/PHPJava/Extended/_Object.php</exclude-pattern>
<exclude-pattern>./src/Packages/java/*</exclude-pattern>
</rule>
<rule ref="Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase">
<exclude-pattern>./src/kernel/maps</exclude-pattern>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>./src/Packages/PHPJava/Extended/_Object.php</exclude-pattern>
<exclude-pattern>./src/Packages/java/*</exclude-pattern>
</rule>
<arg name="colors"/>
<arg value="p"/>
<ini name="memory_limit" value="128M"/>
</ruleset>