2023-10-06 15:26:10 +01:00
|
|
|
# {{ managedText | raw }}
|
|
|
|
|
|
|
|
parameters:
|
|
|
|
level: {{ php.phpstan.level }}
|
2023-11-28 13:31:23 +00:00
|
|
|
{% if not experimental.runStaticAnalysisOnTests %}
|
2023-10-06 15:26:10 +01:00
|
|
|
excludePaths:
|
|
|
|
- *Test.php
|
|
|
|
- *TestBase.php
|
2023-11-28 13:31:23 +00:00
|
|
|
{% endif %}
|
2023-10-06 15:26:10 +01:00
|
|
|
paths:
|
|
|
|
{% for path in php.phpstan.paths -%}
|
|
|
|
- {{ path }}
|
|
|
|
{%- endfor %}
|
|
|
|
|
|
|
|
{% if php.phpstan.baseline %}
|
|
|
|
includes:
|
|
|
|
- phpstan-baseline.neon
|
|
|
|
{% endif %}
|