diff --git a/templates/ci/github-actions/ci.yml.twig b/templates/ci/github-actions/ci.yml.twig index e587ef1..88c4535 100644 --- a/templates/ci/github-actions/ci.yml.twig +++ b/templates/ci/github-actions/ci.yml.twig @@ -38,6 +38,10 @@ jobs: just composer install --quiet --no-progress - # TODO: add PHPCS and PHPStan + # TODO: add PHPCS + + {% if "phpstan" in php|keys -%} + just _run php phpstan analyze + {%- endif %} just test --testdox --colors=always