forked from php-java/php-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
27 lines (21 loc) · 1018 Bytes
/
phpcs.xml
File metadata and controls
27 lines (21 loc) · 1018 Bytes
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
<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/imitation/java/lang/_Object.php</exclude-pattern>
<exclude-pattern>./src/imitation/java/lang/_String.php</exclude-pattern>
<exclude-pattern>./src/imitation/phpjava/extended/_Object</exclude-pattern>
</rule>
<rule ref="Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase">
<exclude-pattern>./src/kernel/maps</exclude-pattern>
</rule>
<arg name="colors"/>
<arg value="p"/>
<ini name="memory_limit" value="128M"/>
</ruleset>