From 24f277bf14af7f5d321c5e4a6471fb247b485fce Mon Sep 17 00:00:00 2001 From: mscherer Date: Thu, 24 Sep 2020 16:11:58 +0200 Subject: [PATCH] Set PHPStan levels higher where possible. --- phpstan.json | 4 ++-- phpstan.neon | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/phpstan.json b/phpstan.json index 5853d235..cca5ff36 100644 --- a/phpstan.json +++ b/phpstan.json @@ -1,3 +1,3 @@ { - "defaultLevel": 5 -} + "defaultLevel": 6 +} \ No newline at end of file diff --git a/phpstan.neon b/phpstan.neon index 4e087379..340da040 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,4 +1,6 @@ parameters: + checkGenericClassInNonGenericObjectType: false + checkMissingIterableValueType: false ignoreErrors: - '#Call to an undefined method .+ActiveRecordInterface::toArray\(\).#' - '#Parameter \#1 \$command of class Symfony\\Component\\Process\\Process constructor expects array, string given.#'