From 924e2737d73c5dc7753873b821770bbd8be95a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Fri, 13 Dec 2019 21:43:22 +0100 Subject: [PATCH] Enhancement: Configure level and paths via phpstan.neon --- .github/workflows/continuous-integration.yml | 2 +- phpstan.neon | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 56d0ea1..335235f 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -81,7 +81,7 @@ jobs: run: composer install --no-interaction --no-progress --no-suggest - name: "Run phpstan/phpstan" - run: vendor/bin/phpstan analyse -l max -c phpstan.neon src tests + run: vendor/bin/phpstan analyse --configuration=phpstan.neon tests: name: "Tests" diff --git a/phpstan.neon b/phpstan.neon index 0901312..509f694 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,2 +1,8 @@ includes: - src/extension.neon + +parameters: + level: max + paths: + - src + - tests