Skip to content

Commit 3180684

Browse files
authored
Merge pull request #51 from jrfnl/feature/example-ruleset-improve-naming
Example rulesets: make the names more specific
2 parents e96e98d + 1778376 commit 3180684

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

example_base_ruleset.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<ruleset name="Drupal7">
2+
<ruleset name="PHPSecurity">
33
<description>Rules for standard PHP projects</description>
44

55
<!-- Code Reviews Rules -->
@@ -12,7 +12,7 @@
1212

1313
<!-- Global properties -->
1414
<!-- Please note that not every sniff uses them and they can be overwritten by rule -->
15-
<!-- Paranoya mode: Will generate more alerts but will miss less vulnerabilites. Good for assisting manual code review. -->
15+
<!-- Paranoia mode: Will generate more alerts but will miss less vulnerabilites. Good for assisting manual code review. -->
1616
<config name="ParanoiaMode" value="1"/>
1717

1818
<!-- BadFunctions -->

example_drupal7_ruleset.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0"?>
2-
<ruleset name="Drupal7">
2+
<ruleset name="Drupal7Security">
33
<description>Rules for Drupal 7 projects</description>
44
<!-- Code Reviews Rules -->
55
<!--
@@ -13,7 +13,7 @@
1313
<!-- Please note that not every sniff uses them and they can be overwritten by rule -->
1414
<!-- Framework or CMS used. Must be a class under Security_Sniffs. -->
1515
<config name="CmsFramework" value="Drupal7"/>
16-
<!-- Paranoya mode: Will generate more alerts but will miss less vulnerabilites. Good for assisting manual code review. -->
16+
<!-- Paranoia mode: Will generate more alerts but will miss less vulnerabilites. Good for assisting manual code review. -->
1717
<config name="ParanoiaMode" value="1"/>
1818

1919
<!-- BadFunctions -->

0 commit comments

Comments
 (0)