mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-05 19:05: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:
|
parameters:
|
||||||
level: {{ php.phpstan.level }}
|
level: {{ php.phpstan.level }}
|
||||||
|
ignorePaths:
|
||||||
|
- *Test.php
|
||||||
|
- *TestBase.php
|
||||||
paths:
|
paths:
|
||||||
{% for path in php.phpstan.paths | default(["src"]) -%}
|
{% for path in php.phpstan.paths | default(["src"]) -%}
|
||||||
- {{ path }}
|
- {{ path }}
|
||||||
{% endfor %}
|
{%- endfor %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue