diff --git a/templates/php/phpstan.neon.twig b/templates/php/phpstan.neon.twig index 2d2fc9f..53dabfd 100644 --- a/templates/php/phpstan.neon.twig +++ b/templates/php/phpstan.neon.twig @@ -2,7 +2,10 @@ parameters: level: {{ php.phpstan.level }} + ignorePaths: + - *Test.php + - *TestBase.php paths: {% for path in php.phpstan.paths | default(["src"]) -%} - {{ path }} - {% endfor %} + {%- endfor %}