From 49373ed71dc570e5e3254d95a87ca725ec5bc69e Mon Sep 17 00:00:00 2001 From: nod_ <nod_@598310.no-reply.drupal.org> Date: Thu, 13 Mar 2025 14:41:34 +0100 Subject: [PATCH] Issue #3511759 by quietone, borisson_: Enable 'Drupal.Commenting.DocComment.ShortNotCapital' coding standard for callbacks --- core/phpcs.xml.dist | 3 --- core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist index 56abaf1edc7f..2b080cef01c2 100644 --- a/core/phpcs.xml.dist +++ b/core/phpcs.xml.dist @@ -62,9 +62,6 @@ <exclude name="Drupal.Commenting.DocComment.LongFullStop"/> <exclude name="Drupal.Commenting.DocComment.MissingShort"/> </rule> - <rule ref="Drupal.Commenting.DocComment"> - <exclude-pattern>core/tests/*</exclude-pattern> - </rule> <rule ref="Drupal.Commenting.DocCommentAlignment"/> <rule ref="Drupal.Commenting.DocCommentLongArraySyntax"/> <rule ref="Drupal.Commenting.DocCommentStar"/> diff --git a/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php b/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php index 0cc2424b9749..bbf90f853b72 100644 --- a/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php +++ b/core/tests/Drupal/Tests/Core/Render/RendererRecursionTest.php @@ -92,9 +92,7 @@ public function testRenderRecursionWithNestedRender(): void { } /** - * ::renderInIsolation() may be called from anywhere. - * - * Including from inside of another ::renderRoot() call. + * Tests that renderRoot() can be called from anywhere including recursively. * * @covers ::renderRoot * @covers ::renderInIsolation -- GitLab