From edb31b30ec0663101c4f42376f86b7fcf38ec0c9 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Fri, 11 Jun 2021 15:20:59 +0200 Subject: [PATCH] Modernization --- Makefile | 2 +- composer.json | 2 +- phpstan.neon | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 29ed221..40e7518 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ cs-fix: .PHONY: phpstan phpstan: - php vendor/bin/phpstan analyse -l 5 -c phpstan.neon src tests + php vendor/bin/phpstan .PHONY: build-abnfgen build-abnfgen: diff --git a/composer.json b/composer.json index 3719f1d..e632448 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.60", + "phpstan/phpstan": "^0.12.87", "phpstan/phpstan-strict-rules": "^0.12.5", "phpunit/phpunit": "^9.5", "symfony/process": "^5.2" diff --git a/phpstan.neon b/phpstan.neon index 412a42f..550caee 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,3 +1,7 @@ parameters: + paths: + - src + - tests + level: 5 ignoreErrors: - '#^Dynamic call to static method PHPUnit\\Framework\\Assert#'