-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
26 lines (24 loc) · 945 Bytes
/
Copy pathphpcs.xml
File metadata and controls
26 lines (24 loc) · 945 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
<?xml version="1.0"?>
<ruleset name="BeMart">
<description>BeMart Coding Standard</description>
<arg name="basepath" value="."/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="80"/>
<arg name="cache" value=".phpcs-cache"/>
<arg value="nps"/>
<file>src</file>
<file>public</file>
<file>bin</file>
<rule ref="Generic.PHP.ForbiddenFunctions">
<!-- Entry points select their context from the environment by design;
application code must not, so exclude only the process boundaries. -->
<exclude-pattern>*/public/*</exclude-pattern>
<exclude-pattern>*/bin/*</exclude-pattern>
<exclude-pattern>*/src/Module/DatabaseUrl.php</exclude-pattern>
<properties>
<property name="forbiddenFunctions" type="array">
<element key="getenv" value="null"/>
</property>
</properties>
</rule>
</ruleset>