From 8d46b4d4e2c01425acbae5b84ca8a08eb7eeb843 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Thu, 12 Dec 2024 12:42:15 +0100 Subject: [PATCH] restore type coverage (#142) --- composer.json | 3 ++- phpstan.neon | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index b2a5d63..92b7fda 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,8 @@ "tomasvotruba/class-leak": "^1.2", "symplify/easy-ci": "^12.1", "symplify/phpstan-rules": "^14.0", - "shipmonk/composer-dependency-analyser": "^1.7" + "shipmonk/composer-dependency-analyser": "^1.7", + "tomasvotruba/type-coverage": "^2.0" }, "autoload": { "psr-4": { diff --git a/phpstan.neon b/phpstan.neon index 0606285..3ea101e 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -2,10 +2,10 @@ includes: - config/extension.neon parameters: -# type_coverage: -# return_type: 99 -# param_type: 99 -# property_type: 99 + type_coverage: + return_type: 99 + param_type: 99 + property_type: 99 level: 8