This commit is contained in:
2026-04-29 19:04:20 +08:00
parent df60e8dd42
commit 07d11a15af
58 changed files with 3937 additions and 520 deletions
+7 -3
View File
@@ -61,7 +61,7 @@
Multiple valid text domains can be provided as a comma-delimited list. -->
<rule ref="WordPress.WP.I18n">
<properties>
<property name="text_domain" type="array" value="_s"/>
<property name="text_domain" type="array" value="cyywordpress"/>
</properties>
</rule>
@@ -76,7 +76,11 @@
<!-- Set the minimum supported WP version. This is used by several sniffs.
The minimum version set here should be in line with the minimum WP version
as set in the "Requires at least" tag in the readme.txt file. -->
<config name="minimum_supported_wp_version" value="4.5"/>
<config name="minimum_supported_wp_version" value="6.0"/>
<!-- PHP 8.1 compatibility check. -->
<config name="testVersion" value="8.1-"/>
<rule ref="PHPCompatibilityWP"/>
<rule ref="WordPress.Arrays.MultipleStatementAlignment">
<properties>
@@ -93,7 +97,7 @@
Multiple valid prefixes can be provided as a comma-delimited list. -->
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<property name="prefixes" type="array" value="_s" />
<property name="prefixes" type="array" value="cyywordpress,CyyWordpress,Bulmapress" />
</properties>
</rule>