From c6fe47aff2721794b321253093e2924750cc85d2 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 23 Apr 2023 19:19:04 +0100 Subject: [PATCH] feat(phpcs): run in CI --- templates/ci/github-actions/ci.yml.twig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/ci/github-actions/ci.yml.twig b/templates/ci/github-actions/ci.yml.twig index 03dddaf..de93b3a 100644 --- a/templates/ci/github-actions/ci.yml.twig +++ b/templates/ci/github-actions/ci.yml.twig @@ -38,7 +38,9 @@ jobs: just composer install --quiet --no-progress - # TODO: add PHPCS + {% if "phpcs" in php|keys -%} + just _run php phpcs + {%- endif %} {% if "phpstan" in php|keys -%} just _run php phpstan analyze --no-progress --memory-limit=512M