forked from IUREDCap/redcap-etl-module
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
34 lines (25 loc) · 1.18 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
33
34
<?xml version="1.0"?>
<!-- =================================================
Copyright (C) 2019 The Trustees of Indiana University
SPDX-License-Identifier: BSD-3-Clause
================================================== -->
<ruleset name="REDCap-ETL External Module coding standards">
<description>REDCap-ETL External Module coding standards</description>
<!-- User colors for output -->
<arg name="colors"/>
<rule ref="PSR1"/>
<rule ref="PSR2"/>
<!-- local variables need to use lower camel case -->
<rule ref="Squiz.NamingConventions.ValidVariableName.NotCamelCaps"/>
<!-- member variables need to use lower camel case -->
<rule ref="Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps"/>
<!-- variables embedded in strings need to use lower camel case -->
<rule ref="Squiz.NamingConventions.ValidVariableName.StringNotCamelCaps"/>
<!-- Paths to check -->
<file>.</file>
<file>tests/unit/</file>
<exclude-pattern>*/dependencies/*</exclude-pattern>
<exclude-pattern>*/tests/web/*</exclude-pattern>
<exclude-pattern>*/resources/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
</ruleset>