forked from mywikis/CrawlerProtection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.phpcs.xml
More file actions
27 lines (22 loc) · 874 Bytes
/
.phpcs.xml
File metadata and controls
27 lines (22 loc) · 874 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"?>
<ruleset name="CrawlerProtection">
<description>MediaWiki coding standards for CrawlerProtection extension</description>
<rule ref="../../vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
</rule>
<!-- Paths to check -->
<file>.</file>
<!-- Paths to ignore -->
<exclude-pattern>*/build/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*.phan/*</exclude-pattern>
<!-- Show progress -->
<arg name="colors"/>
<arg name="encoding" value="UTF-8"/>
<arg name="extensions" value="php"/>
<arg value="sp"/>
<!-- Memory limit -->
<ini name="memory_limit" value="512M"/>
</ruleset>