11 lines
307 B
XML
11 lines
307 B
XML
|
<?xml version="1.0"?>
|
||
|
<rule version="1">
|
||
|
<pattern>Severity :: fromString \( "\w+" \)</pattern>
|
||
|
<message>
|
||
|
<id>ConstantSeverityFromString</id>
|
||
|
<severity>style</severity>
|
||
|
<summary>Constant severity lookups should be done via
|
||
|
Severity::constant.</summary>
|
||
|
</message>
|
||
|
</rule>
|