From f5d9fec84f3ac42feaad9de558137b059bb5e779 Mon Sep 17 00:00:00 2001 From: catch <catch@35733.no-reply.drupal.org> Date: Thu, 13 May 2021 20:40:26 +0100 Subject: [PATCH] Issue #3123070 by Spokje, msuthars, quietone, longwave, jungle: Fix 'PSR2.Classes.PropertyDeclaration.Underscore' coding standard --- core/phpcs.xml.dist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/phpcs.xml.dist b/core/phpcs.xml.dist index f756a8c78769..ae948ae6eb7e 100644 --- a/core/phpcs.xml.dist +++ b/core/phpcs.xml.dist @@ -225,6 +225,8 @@ <!-- PSR-2 sniffs --> <rule ref="PSR2.Classes.PropertyDeclaration"> + <!-- Silence method name underscore warning which is covered already in + Drupal.Classes.PropertyDeclaration. --> <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/> </rule> <rule ref="PSR2.Namespaces.NamespaceDeclaration"/> -- GitLab