-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.phpcs.xml.dist
More file actions
24 lines (19 loc) · 795 Bytes
/
.phpcs.xml.dist
File metadata and controls
24 lines (19 loc) · 795 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
<?xml version="1.0"?>
<ruleset name="Custom ruleset">
<description>Coding standards for PHPUnit Markup Assertions</description>
<!-- Show progress and sniff codes in all reports -->
<arg value="ps"/>
<!-- Check all PHP files in directory tree by default. -->
<arg name="extensions" value="php"/>
<file>.</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<!-- Default to PSR-12 for coding standards-->
<rule ref="PSR12"/>
<!-- The tests/ directory may use snake_case for test methods -->
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>tests/*</exclude-pattern>
</rule>
<!-- Ensure we're compatible with PHP 7.1+ -->
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="7.1-"/>
</ruleset>