diff options
Diffstat (limited to 'core/phpstan.neon.dist')
-rw-r--r-- | core/phpstan.neon.dist | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/phpstan.neon.dist b/core/phpstan.neon.dist index c666b6f9536..e7a42b88cde 100644 --- a/core/phpstan.neon.dist +++ b/core/phpstan.neon.dist @@ -2,7 +2,6 @@ # The PHPStan check is executed as a job in the CI pipeline. includes: - .phpstan-baseline.php - - phar://phpstan.phar/conf/bleedingEdge.neon parameters: @@ -37,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. @@ -57,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 |