From eca5a3d3eb9a398b96586a5456990dce67c2162c Mon Sep 17 00:00:00 2001 From: Orklah Date: Sun, 9 Feb 2020 14:47:18 +0100 Subject: [PATCH] Bump phpstan to last version --- .github/workflows/push.yml | 4 ++-- Makefile | 2 +- phpstan.neon | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 78e38a1..21db20c 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -149,11 +149,11 @@ jobs: all-build-${{ hashFiles('**/composer.lock') }} all-build- - name: PHPStan - uses: phpDocumentor/phpstan-ga@0.12.3 + uses: phpDocumentor/phpstan-ga@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - args: analyse src --level max --configuration phpstan.neon + args: analyse src --configuration phpstan.neon psalm: runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index a087339..b8c8231 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ phpcs: .PHONY: phpstan phpstan: - docker run -it --rm -v${PWD}:/opt/project -w /opt/project phpdoc/phpstan-ga:latest analyse src --no-progress --level max --configuration phpstan.neon + docker run -it --rm -v${PWD}:/opt/project -w /opt/project phpdoc/phpstan-ga:latest analyse src --no-progress --configuration phpstan.neon .PHONY: psaml psalm: diff --git a/phpstan.neon b/phpstan.neon index b2fd534..1c62d36 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,3 +1,4 @@ parameters: + level: max checkGenericClassInNonGenericObjectType: false checkMissingIterableValueType: false