From 67b575652e1cd997174fad75dbbc487a11e7e761 Mon Sep 17 00:00:00 2001
From: Jonathan Smith <jonathan1055@sandfordsolutions.com>
Date: Sun, 5 Mar 2023 17:13:22 +0000
Subject: [PATCH] test(DocComment): Add camelCase inheritDoc example to test
 file (#2904801)

---
 tests/Drupal/Commenting/DocCommentUnitTest.inc       | 7 ++++++-
 tests/Drupal/Commenting/DocCommentUnitTest.inc.fixed | 7 ++++++-
 tests/Drupal/Commenting/DocCommentUnitTest.php       | 2 +-
 3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/tests/Drupal/Commenting/DocCommentUnitTest.inc b/tests/Drupal/Commenting/DocCommentUnitTest.inc
index eb105c3c..e497574a 100644
--- a/tests/Drupal/Commenting/DocCommentUnitTest.inc
+++ b/tests/Drupal/Commenting/DocCommentUnitTest.inc
@@ -125,7 +125,12 @@ function test14(array $matches, array $sub_key, $to) {
 /**
  * {@inheritdoc}
  */
-function test15_this_inheritdoc_is_correct();
+function test15_lower_case_inheritdoc();
+
+/**
+ * {@inheritDoc}
+ */
+function test15_camel_case_inheritdoc();
 
 /**
  * @inheritdoc
diff --git a/tests/Drupal/Commenting/DocCommentUnitTest.inc.fixed b/tests/Drupal/Commenting/DocCommentUnitTest.inc.fixed
index 24a9ead8..18ec5ea5 100644
--- a/tests/Drupal/Commenting/DocCommentUnitTest.inc.fixed
+++ b/tests/Drupal/Commenting/DocCommentUnitTest.inc.fixed
@@ -134,7 +134,12 @@ function test14(array $matches, array $sub_key, $to) {
 /**
  * {@inheritdoc}
  */
-function test15_this_inheritdoc_is_correct();
+function test15_lower_case_inheritdoc();
+
+/**
+ * {@inheritDoc}
+ */
+function test15_camel_case_inheritdoc();
 
 /**
  * {@inheritdoc}
diff --git a/tests/Drupal/Commenting/DocCommentUnitTest.php b/tests/Drupal/Commenting/DocCommentUnitTest.php
index 62d16d69..8cf53a21 100644
--- a/tests/Drupal/Commenting/DocCommentUnitTest.php
+++ b/tests/Drupal/Commenting/DocCommentUnitTest.php
@@ -33,8 +33,8 @@ class DocCommentUnitTest extends CoderSniffUnitTest
                 66  => 1,
                 100 => 4,
                 101 => 1,
-                131 => 1,
                 136 => 1,
+                141 => 1,
             ];
 
         case 'DocCommentUnitTest.1.inc':
-- 
GitLab