-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathphpcs.xml
37 lines (31 loc) · 1.28 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
35
36
37
<?xml version="1.0"?>
<!-- =================================================
Copyright (C) 2019 The Trustees of Indiana University
SPDX-License-Identifier: BSD-3-Clause
================================================== -->
<ruleset name="REDCap-ETL coding standards">
<description>REDCap-ETL coding standards</description>
<!-- Use colors for output -->
<arg name="colors"/>
<!-- =================================
Standards to use
================================== -->
<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>bin</file>
<file>src</file>
<file>tests/integration</file>
<file>tests/system</file>
<file>tests/unit</file>
<!-- How to exclude files: -->
<!--<exclude-pattern>...pattern...</exclude-pattern> -->
</ruleset>