summaryrefslogtreecommitdiffstatshomepage
path: root/core/phpstan.neon.dist
diff options
context:
space:
mode:
Diffstat (limited to 'core/phpstan.neon.dist')
-rw-r--r--core/phpstan.neon.dist2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/phpstan.neon.dist b/core/phpstan.neon.dist
index 40e1c821d029..e7a42b88cdee 100644
--- a/core/phpstan.neon.dist
+++ b/core/phpstan.neon.dist
@@ -58,3 +58,5 @@ rules:
- Drupal\PHPStan\Rules\ComponentTestDoesNotExtendCoreTest
- PHPStan\Rules\Functions\MissingFunctionReturnTypehintRule
- PHPStan\Rules\Methods\MissingMethodReturnTypehintRule
+ # The rule below can be removed when we increase level to 2.
+ - PHPStan\Rules\Classes\AccessPrivateConstantThroughStaticRule