diff --git a/src/ZenifyCodingStandard/ruleset.xml b/src/ZenifyCodingStandard/ruleset.xml
index 0b74461..b74852f 100644
--- a/src/ZenifyCodingStandard/ruleset.xml
+++ b/src/ZenifyCodingStandard/ruleset.xml
@@ -15,6 +15,7 @@
+
diff --git a/tests/CodeSnifferRunner.php b/tests/CodeSnifferRunner.php
index 39a35d3..b5b10f2 100644
--- a/tests/CodeSnifferRunner.php
+++ b/tests/CodeSnifferRunner.php
@@ -53,9 +53,9 @@ public function getErrorCountInFile($source)
* @param string $name
* @return string
*/
- public function detectRulesetFromSniffName($sniff)
+ public function detectRulesetFromSniffName($name)
{
- $standard = $this->detectStandardFromSniffName($sniff);
+ $standard = $this->detectStandardFromSniffName($name);
if (isset($this->standardRulesets[$standard])) {
return $this->standardRulesets[$standard];
diff --git a/tests/Squiz/Commenting/FunctionComment/FunctionCommentSniffTest.php b/tests/Squiz/Commenting/FunctionComment/FunctionCommentSniffTest.php
new file mode 100644
index 0000000..f0e6754
--- /dev/null
+++ b/tests/Squiz/Commenting/FunctionComment/FunctionCommentSniffTest.php
@@ -0,0 +1,23 @@
+assertSame(1, $codeSnifferRunner->getErrorCountInFile(__DIR__ . '/wrong.php'));
+ $this->assertSame(0, $codeSnifferRunner->getErrorCountInFile(__DIR__ . '/correct.php'));
+ }
+
+}
diff --git a/tests/Squiz/Commenting/FunctionComment/correct.php b/tests/Squiz/Commenting/FunctionComment/correct.php
new file mode 100644
index 0000000..71b7d43
--- /dev/null
+++ b/tests/Squiz/Commenting/FunctionComment/correct.php
@@ -0,0 +1,17 @@
+