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