From f0dc0b35567d6729e8b1e6e6ccd166738430ed6c Mon Sep 17 00:00:00 2001 From: Rodrigo Primo Date: Wed, 28 Jul 2021 13:29:59 -0300 Subject: [PATCH] Stop excluding the PHPStan checkMissingTypehints error This check doesn't produce any errors so we don't need to exclude it from our checks. Note that this only removes the exclusion of this error from phpstan.neon. The same error check is kept in phpstan-tests.neon as there are some change that we need to make to two tests before being able to update this file as well. [MAILPOET-3236] --- tasks/phpstan/phpstan.neon | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks/phpstan/phpstan.neon b/tasks/phpstan/phpstan.neon index 100bd74a26..d60a033652 100644 --- a/tasks/phpstan/phpstan.neon +++ b/tasks/phpstan/phpstan.neon @@ -30,7 +30,6 @@ parameters: # exclude level 6 errors checkGenericClassInNonGenericObjectType: false checkMissingIterableValueType: false - checkMissingTypehints: false # analysis of templates is extremely slow, let's skip them for now excludes_analyse: