diff --git a/templates/tests/phpstan.neon b/templates/tests/phpstan.neon index 340a688af6c1bcd82550024aca49e02b1ed3ba83..3229b41a18d5754e86334140cce853d1abf8df38 100644 --- a/templates/tests/phpstan.neon +++ b/templates/tests/phpstan.neon @@ -6,10 +6,14 @@ parameters: fileExtensions: - module - theme - - profile + - inc - install + - profile + - engine ignoreErrors: - '#Plugin definitions cannot be altered.#' + excludePaths: + - '*/tests/*.php' includes: - /var/www/html/vendor/mglaman/phpstan-drupal/extension.neon - /var/www/html/vendor/phpstan/phpstan-deprecation-rules/rules.neon