From 60efe6f488acdc8a293694b7decdf182b27598d5 Mon Sep 17 00:00:00 2001 From: Louis Charette Date: Sun, 21 Apr 2024 16:20:48 -0400 Subject: [PATCH] Update PHPStan config --- .github/workflows/PHPStan.yml | 4 ++-- phpstan.neon | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/PHPStan.yml b/.github/workflows/PHPStan.yml index 877fd12..d09a4f8 100644 --- a/.github/workflows/PHPStan.yml +++ b/.github/workflows/PHPStan.yml @@ -19,7 +19,7 @@ jobs: name: PHPStan - ${{ matrix.php_versions }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup PHP, with composer and extensions uses: shivammathur/setup-php@v2 @@ -30,4 +30,4 @@ jobs: run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist - name: Run PHPStan - run: vendor/bin/phpstan analyse src/ tests/ + run: vendor/bin/phpstan analyse diff --git a/phpstan.neon b/phpstan.neon index 19e2226..cf7aa76 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,5 +1,8 @@ parameters: level: 8 + paths: + - src + - tests reportUnmatchedIgnoredErrors: false ignoreErrors: - '#Dynamic call to static method PHPUnit\\Framework\\.*#'