File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -228,6 +228,20 @@ The following sample file documents the ruleset.xml format and shows you the com
228228 <type >warning</type >
229229 </rule >
230230
231+ <!--
232+ Or change the type of all messages produced by
233+ a sniff, category, or standard.
234+ -->
235+ <rule ref =" Generic.Formatting.MultipleStatementAlignment" >
236+ <type >error</type >
237+ </rule >
238+ <rule ref =" Squiz.Strings" >
239+ <type >warning</type >
240+ </rule >
241+ <rule ref =" PSR12" >
242+ <type >warning</type >
243+ </rule >
244+
231245 <!--
232246 Here we change two messages from the same sniff. Note how the
233247 codes are slightly different because the sniff developer has
@@ -279,7 +293,6 @@ The following sample file documents the ruleset.xml format and shows you the com
279293 <properties >
280294 <property name =" maxPadding" value =" 8" />
281295 <property name =" ignoreMultiLine" value =" true" />
282- <property name =" error" value =" true" />
283296 </properties >
284297 </rule >
285298
You can’t perform that action at this time.
0 commit comments