fix(phpstan): ignore test files by default

This commit is contained in:
Oliver Davies 2023-04-21 23:14:56 +01:00
parent 82889f1fa9
commit d9cdc2bac6

View file

@ -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 %}