summaryrefslogtreecommitdiffstatshomepage
path: root/core/phpcs.xml.dist
diff options
context:
space:
mode:
Diffstat (limited to 'core/phpcs.xml.dist')
-rw-r--r--core/phpcs.xml.dist2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist
index ae9106fbd308..623a64679581 100644
--- a/core/phpcs.xml.dist
+++ b/core/phpcs.xml.dist
@@ -100,6 +100,8 @@
<include-pattern>*/core/profiles/*</include-pattern>
<include-pattern>*/core/recipes/*</include-pattern>
<include-pattern>*/core/themes/*</include-pattern>
+ <include-pattern>*/core/modules/*</include-pattern>
+ <exclude-pattern>*/core/modules/*/tests</exclude-pattern>
</rule>
<rule ref="Drupal.Files.TxtFileLineLength"/>
<rule ref="Drupal.Formatting.MultiLineAssignment"/>