summaryrefslogtreecommitdiffstatshomepage
path: root/core/phpcs.xml.dist
diff options
context:
space:
mode:
authornod_ <nod_@598310.no-reply.drupal.org>2025-03-03 15:20:08 +0100
committernod_ <nod_@598310.no-reply.drupal.org>2025-03-03 15:20:08 +0100
commitce8a3d5d20d366fca82d4067facb29d93b8e2b3c (patch)
treea9fe0383072329d0ea1e74003af2dd62a101f543 /core/phpcs.xml.dist
parent0b439c084c0adefb06e773d0b0c87197e13b5a65 (diff)
downloaddrupal-ce8a3d5d20d366fca82d4067facb29d93b8e2b3c.tar.gz
drupal-ce8a3d5d20d366fca82d4067facb29d93b8e2b3c.zip
Issue #3504776 by quietone, annmarysruthy, vighneshh, oily, smustgrave, borisson_: Fix Drupal.Commenting.FunctionComment.MissingReturnComment in extension tests
Diffstat (limited to 'core/phpcs.xml.dist')
-rw-r--r--core/phpcs.xml.dist7
1 files changed, 1 insertions, 6 deletions
diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist
index 5b862e191b7..3e120eadc66 100644
--- a/core/phpcs.xml.dist
+++ b/core/phpcs.xml.dist
@@ -87,12 +87,7 @@
<include-pattern>core/lib/Drupal/Core/*</include-pattern>
<include-pattern>core/lib/Drupal/Component/*</include-pattern>
<include-pattern>core/tests/*</include-pattern>
- </rule>
- <rule ref="Drupal.Commenting.FunctionComment.MissingReturnComment">
- <exclude-pattern>core/lib/Drupal/Core/*</exclude-pattern>
- <exclude-pattern>core/lib/Drupal/Component/*</exclude-pattern>
- <exclude-pattern>core/tests/*</exclude-pattern>
- <exclude-pattern>core/*/tests/*</exclude-pattern>
+ <include-pattern>core/*/tests/*</include-pattern>
</rule>
<rule ref="Drupal.Commenting.GenderNeutralComment"/>
<rule ref="Drupal.Commenting.HookComment"/>