-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
27 lines (23 loc) · 1020 Bytes
/
phpcs.xml.dist
File metadata and controls
27 lines (23 loc) · 1020 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="oxygen-html-converter-core">
<description>Focused PHPCS gate for hardened Core entrypoints.</description>
<rule ref="WordPress.Security.EscapeOutput"/>
<rule ref="WordPress.Security.NonceVerification"/>
<rule ref="WordPress.Security.ValidatedSanitizedInput"/>
<rule ref="WordPress.WP.I18n"/>
<rule ref="WordPress.PHP.StrictInArray"/>
<config name="minimum_supported_wp_version" value="6.5"/>
<arg name="basepath" value="."/>
<arg name="colors"/>
<arg name="parallel" value="4"/>
<exclude-pattern>vendor/*</exclude-pattern>
<exclude-pattern>node_modules/*</exclude-pattern>
<exclude name="Generic.Files.LineEndings"/>
<file>oxygen-html-converter.php</file>
<file>src/AdminPage.php</file>
<file>src/Ajax.php</file>
<file>src/Plugin.php</file>
<file>src/Services/ConversionAuditBuilder.php</file>
<file>src/Services/EnvironmentService.php</file>
<file>src/Services/RequestOptions.php</file>
</ruleset>