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.dist4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/phpstan.neon.dist b/core/phpstan.neon.dist
index 4cd4f9cfa591..e7a42b88cdee 100644
--- a/core/phpstan.neon.dist
+++ b/core/phpstan.neon.dist
@@ -36,6 +36,8 @@ parameters:
# Skip Drupal 6 & 7 code.
- scripts/dump-database-d?.sh
- scripts/generate-d?-content.sh
+ # Skip update countries script for fake t() declaration.
+ - scripts/update-countries.sh
# Skip data files.
- lib/Drupal/Component/Transliteration/data/*.php
# The following classes deliberately extend non-existent classes for testing.
@@ -56,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