-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
25 lines (19 loc) · 795 Bytes
/
phpcs.xml
File metadata and controls
25 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
25
<?xml version="1.0"?>
<ruleset name="toml">
<arg value="nps"/>
<arg name="cache" value=".phpcs.cache"/>
<file>bin/toml-decoder</file>
<file>bin/toml-encoder</file>
<file>bin/toml-validate</file>
<file>src/</file>
<file>tests/</file>
<exclude-pattern>*/vendor/*</exclude-pattern>
<rule ref="PhpCollective"/>
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInDeclaration"/>
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUse"/>
<!-- bin/ entry-point scripts are extensionless executables and may define a
script-local helper class without a namespace. -->
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>bin/*</exclude-pattern>
</rule>
</ruleset>