From e715496e76a719b05c51ecb152f5ccdc606a8c01 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 23 Apr 2023 20:15:08 +0100 Subject: [PATCH] feat(phpstan): include baseline file --- templates/php/phpstan.neon.twig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/php/phpstan.neon.twig b/templates/php/phpstan.neon.twig index a47fc95..5263f21 100644 --- a/templates/php/phpstan.neon.twig +++ b/templates/php/phpstan.neon.twig @@ -9,3 +9,8 @@ parameters: {% for path in php.phpstan.paths | default(["src"]) -%} - {{ path }} {%- endfor %} + +{% if php.phpstan.baseline %} +includes: + - phpstan-baseline.neon +{% endif %}