-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
27 lines (24 loc) · 990 Bytes
/
Copy pathphpcs.xml.dist
File metadata and controls
27 lines (24 loc) · 990 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
26
27
<?xml version="1.0"?>
<!--
/**
* Copyright © Wubinworks. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/8ff9283ab30cd296293b57039efe573aaf669862/phpcs.xsd"
name="Wubinworks_PHP_Package_Coding_Standard"
>
<description>Wubinworks PHP Package Coding Standard</description>
<!-- File extensions to be checked -->
<arg name="extensions" value="html/PHP,inc,php,phtml"/>
<!-- Exclude vendor directory -->
<exclude-pattern>vendor/*</exclude-pattern>
<!-- Only use the following rules -->
<rule ref="PSR12">
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
<exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
<exclude name="PSR12.Files.FileHeader.SpacingAfterBlock"/>
</rule>
<rule ref="PHPCompatibility"/>
</ruleset>