-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
53 lines (41 loc) · 1.35 KB
/
phpcs.xml
File metadata and controls
53 lines (41 loc) · 1.35 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?xml version="1.0"?>
<ruleset name="Virtual-llms-txt">
<description>Coding standards for Virtual llms.txt plugin.</description>
<file>.</file>
<arg name="extensions" value="php"/>
<exclude-pattern>languages/</exclude-pattern>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>node_modules/</exclude-pattern>
<arg value="-colors"/>
<arg value="ns"/>
<arg value="p"/>
<ini name="memory_limit" value="512M"/>
<ini name="max_execution_time" value="-1"/>
<rule ref="WordPress-Extra">
<exclude name="WordPress.Files.FileName"/>
<exclude name="Squiz.PHP.CommentedOutCode"/>
<exclude name="WordPress.Files.FileName.InvalidClassFileName"/>
</rule>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Universal.Arrays.DisallowShortArraySyntax">
<severity>0</severity>
</rule>
<rule ref="Universal.Operators.DisallowShortTernary">
<severity>0</severity>
</rule>
<config name="minimum_supported_wp_version" value="6.0"/>
<rule ref="PHPCompatibility"/>
<config name="testVersion" value="8.0-"/>
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="virtual-llms-txt"/>
</property>
</properties>
</rule>
<rule ref="WordPress.WhiteSpace.ControlStructureSpacing">
<properties>
<property name="blank_line_check" value="true"/>
</properties>
</rule>
</ruleset>