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
228
228
<type >warning</type >
229
229
</rule >
230
230
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
+
231
245
<!--
232
246
Here we change two messages from the same sniff. Note how the
233
247
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
279
293
<properties >
280
294
<property name =" maxPadding" value =" 8" />
281
295
<property name =" ignoreMultiLine" value =" true" />
282
- <property name =" error" value =" true" />
283
296
</properties >
284
297
</rule >
285
298
You can’t perform that action at this time.
0 commit comments