-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.phpcs.xml
33 lines (31 loc) · 1.18 KB
/
.phpcs.xml
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
28
29
30
31
32
33
<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
<!-- don't need to document typed return values -->
<rule ref="MediaWiki.Commenting.FunctionComment.MissingReturn">
<severity>0</severity>
</rule>
<rule ref="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic">
<severity>0</severity>
</rule>
<!-- don't need to document private members -->
<rule ref="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate">
<severity>0</severity>
</rule>
<rule ref="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate">
<severity>0</severity>
</rule>
<rule ref="Squiz.Commenting.FunctionComment.IncorrectTypeHint"/>
<rule ref="Generic.Files.LineLength">
<properties>
<!-- inherited line limit from MediaWiki is 100; make it at least 120 -->
<property name="lineLimit" value="120" />
</properties>
</rule>
<file>.</file>
<exclude-pattern>/tests/*</exclude-pattern>
<exclude-pattern>.history</exclude-pattern>
<arg name="bootstrap" value="./vendor/mediawiki/mediawiki-codesniffer/utils/bootstrap-ci.php" />
<arg name="extensions" value="php" />
<arg name="encoding" value="UTF-8" />
</ruleset>