-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
20 lines (18 loc) · 806 Bytes
/
phpcs.xml.dist
File metadata and controls
20 lines (18 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/3.6.0/phpcs.xsd">
<arg name="basepath" value="."/>
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<rule ref="PSR12" />
<rule ref="Generic.PHP.RequireStrictTypes.MissingDeclaration" />
<rule ref="./vendor/gskema/phpcs-type-sniff/src/Sniffs/CompositeCodeElementSniff.php">
<properties>
<property name="FqcnMethodSniff.reportMissingTags" value="false"/>
</properties>
</rule>
<file>src</file>
<file>tests</file>
<exclude-pattern>*/tests/public/*</exclude-pattern>
</ruleset>