Skip to content

Commit 8a008ee

Browse files
gsherwoodjrfnl
authored andcommitted
Updated Annotated Ruleset (markdown)
1 parent 5f00bf8 commit 8a008ee

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

wiki/Annotated-Ruleset.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)