mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-05 10:55:33 +01:00
fix(phpstan): ignore test files by default
This commit is contained in:
parent
82889f1fa9
commit
d9cdc2bac6
1 changed files with 4 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue