Skip to content

Commit 897b6da

Browse files
committed
Update allowed custom properties config property name
`customPropertyWhitelist` has been renamed to `allowed_custom_properties`.
1 parent 798d137 commit 897b6da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

HM/ruleset.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,18 +71,18 @@
7171
<property name="additionalWordDelimiters" value="." />
7272
</properties>
7373
</rule>
74-
74+
7575
<!-- Ease up on the PHP DOM* objects. -->
7676
<rule ref="WordPress.NamingConventions.ValidVariableName">
7777
<properties>
78-
<property name="customPropertiesWhitelist" type="array">
78+
<property name="allowed_custom_properties" type="array">
7979
<!-- DOMDocument::$documentElement -->
8080
<element value="documentElement" />
81-
<!-- DOMElement::$childElementCount -->
81+
<!-- DOMElement::$childElementCount -->
8282
<element value="childElementCount" />
8383
<!-- DOMElement::$parentNode -->
8484
<element value="parentNode" />
85-
<!-- DOMNode::$childNodes -->
85+
<!-- DOMNode::$childNodes -->
8686
<element value="childNodes" />
8787
</property>
8888
</properties>

0 commit comments

Comments
 (0)