diff --git a/coder_sniffer/Drupal/ruleset.xml b/coder_sniffer/Drupal/ruleset.xml
index df9e810b..5eb990f3 100644
--- a/coder_sniffer/Drupal/ruleset.xml
+++ b/coder_sniffer/Drupal/ruleset.xml
@@ -127,6 +127,15 @@
+
+
+
+
+
+
+
+
diff --git a/tests/Drupal/bad/BadUnitTest.php b/tests/Drupal/bad/BadUnitTest.php
index b0edb702..4312e07b 100644
--- a/tests/Drupal/bad/BadUnitTest.php
+++ b/tests/Drupal/bad/BadUnitTest.php
@@ -364,7 +364,8 @@ protected function getErrorList(string $testFile): array
849 => 2,
860 => 2,
867 => 1,
- 871 => 2,
+ 872 => 1,
+ 876 => 2,
];
}//end switch
diff --git a/tests/Drupal/bad/bad.php b/tests/Drupal/bad/bad.php
index cf249d9c..a3fd4725 100644
--- a/tests/Drupal/bad/bad.php
+++ b/tests/Drupal/bad/bad.php
@@ -868,4 +868,9 @@ function test30(TestType $a = NULL) {
echo "Hello";
}
+/**
+ * Comments are not allowed to end in 2 dots..
+ */
+function test31() {}
+
?>
\ No newline at end of file
diff --git a/tests/Drupal/bad/bad.php.fixed b/tests/Drupal/bad/bad.php.fixed
index 71ddbb72..534edd33 100644
--- a/tests/Drupal/bad/bad.php.fixed
+++ b/tests/Drupal/bad/bad.php.fixed
@@ -921,3 +921,8 @@ function test29(
function test30(?TestType $a = NULL) {
echo "Hello";
}
+
+/**
+ * Comments are not allowed to end in 2 dots.
+ */
+function test31() {}
diff --git a/tests/Drupal/good/good.php b/tests/Drupal/good/good.php
index 3ef195e2..f9747220 100644
--- a/tests/Drupal/good/good.php
+++ b/tests/Drupal/good/good.php
@@ -2060,3 +2060,8 @@ public function applies(RouteMatchInterface $route_match /* , CacheableMetadata
function pdo_weird_return_type($param) {
return pdo();
}
+
+/**
+ * Comments are allowed to end in 3 dots...
+ */
+function comment_test_dots() {}