-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathphpcs.xml
More file actions
22 lines (18 loc) · 792 Bytes
/
Copy pathphpcs.xml
File metadata and controls
22 lines (18 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd">
<description>The coding standard for PHP_CodeSniffer itself.</description>
<exclude-pattern>/vendor/*</exclude-pattern>
<arg name="extensions" value="php,inc" />
<arg name="report" value="code"/>
<arg name="colors"/>
<rule ref="PSR12">
<exclude name="Generic.Files.LineLength.TooLong" />
<exclude name="PSR1.Files.SideEffects.FoundWithSymbols" />
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace"/>
</rule>
<rule ref="Generic.Files.LineEndings">
<properties>
<property name="eolChar" value="\r\n"/>
</properties>
</rule>
</ruleset>