-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcbf.xml.dist
More file actions
70 lines (60 loc) · 2.16 KB
/
Copy pathphpcbf.xml.dist
File metadata and controls
70 lines (60 loc) · 2.16 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="Starmus Audio Recorder - Auto-Fix"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/PHPCSStandards/PHP_CodeSniffer/master/phpcs.xsd">
<description>
Auto-fix ruleset for Starmus Audio Recorder.
Fixes whitespace, formatting, and docblocks only.
</description>
<!-- Scan plugin PHP files -->
<file>starmus-audio-recorder.php</file>
<file>uninstall.php</file>
<file>src/</file>
<!-- Exclusions -->
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude-pattern>tests/*</exclude-pattern>
<exclude-pattern>build/*</exclude-pattern>
<!-- Runtime -->
<arg value="p"/>
<arg name="basepath" value="./"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg name="parallel" value="8"/>
<arg name="cache" value="true"/>
<arg name="cache-file" value=".phpcs.cache"/>
<!-- Project baselines -->
<config name="testVersion" value="8.2-8.4"/>
<config name="minimum_supported_wp_version" value="6.8"/>
<config name="tabWidth" value="4"/>
<!-- WordPress formatting standards -->
<rule ref="WordPress-Core"/>
<rule ref="WordPress-Extra"/>
<rule ref="WordPress-Docs"/>
<!-- VIP formatting layer only (no JS, no restricted function enforcement) -->
<rule ref="WordPressVIPMinimum">
<exclude name="WordPressVIPMinimum.JS"/>
<exclude name="WordPressVIPMinimum.Functions.RestrictedFunctions"/>
<exclude name="WordPressVIPMinimum.Constants.RestrictedConstants"/>
</rule>
<!-- Global naming -->
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<property name="prefixes" type="array">
<element value="sparxstar"/>
<element value="starmus"/>
<element value="aiwa"/>
<element value="aiwacs"/>
<element value="starisian"/>
</property>
</properties>
</rule>
<!-- Text domain -->
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array">
<element value="starmus-audio-recorder"/>
</property>
</properties>
</rule>
</ruleset>