@@ -121,8 +121,14 @@ There are two configurable options:
121121``` xml
122122<rule ref =" Generic.Debug.ClosureLinter" >
123123 <properties >
124- <property name =" errorCodes" type =" array" value =" 0210" />
125- <property name =" ignoreCodes" type =" array" value =" 0001,0110,0240" />
124+ <property name =" errorCodes" type =" array" >
125+ <element value =" 0210" />
126+ </property >
127+ <property name =" ignoreCodes" type =" array" >
128+ <element value =" 0001" />
129+ <element value =" 0110" />
130+ <element value =" 0240" />
131+ </property >
126132 </properties >
127133</rule >
128134```
@@ -462,8 +468,10 @@ This sniff discourages the use of alias functions that are kept in PHP for compa
462468``` xml
463469<rule ref =" Generic.PHP.ForbiddenFunctions" >
464470 <properties >
465- <property name =" forbiddenFunctions" type =" array"
466- value =" print=>echo,create_function=>null" />
471+ <property name =" forbiddenFunctions" type =" array" >
472+ <element key =" print" value =" echo" />
473+ <element key =" create_function" value =" null" />
474+ </property >
467475 </properties >
468476</rule >
469477```
@@ -612,8 +620,10 @@ Setting the `ignoreIndentationTokens` property provides the sniff with a list of
612620``` xml
613621<rule ref =" Generic.WhiteSpace.ScopeIndent" >
614622 <properties >
615- <property name =" ignoreIndentationTokens" type =" array"
616- value =" T_COMMENT,T_DOC_COMMENT_OPEN_TAG" />
623+ <property name =" ignoreIndentationTokens" type =" array" >
624+ <element value =" T_COMMENT" />
625+ <element value =" T_DOC_COMMENT_OPEN_TAG" />
626+ </property >
617627 </properties >
618628</rule >
619629```
@@ -884,8 +894,10 @@ See the [Generic.WhiteSpace.ScopeIndent](#genericwhitespacescopeindent) sniff fo
884894 <properties >
885895 <property name =" exact" value =" true" />
886896 <property name =" tabIndent" value =" true" />
887- <property name =" ignoreIndentationTokens" type =" array"
888- value =" T_COMMENT,T_DOC_COMMENT_OPEN_TAG" />
897+ <property name =" ignoreIndentationTokens" type =" array" >
898+ <element value =" T_COMMENT" />
899+ <element value =" T_DOC_COMMENT_OPEN_TAG" />
900+ </property >
889901 </properties >
890902</rule >
891903```
0 commit comments