From 3459744d0466b60ac2c26cfd18d905593f0635bf Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 13 Apr 2018 14:22:00 +0200 Subject: [PATCH] Update phan.php --- Config/phan.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Config/phan.php b/Config/phan.php index 90b8b0b..dd1815d 100644 --- a/Config/phan.php +++ b/Config/phan.php @@ -1,5 +1,16 @@ null, + 'strict_param_checking' => true, + 'strict_property_checking' => true, + 'strict_return_checking' => true, + 'check_docblock_signature_return_type_match' => true, + 'check_docblock_signature_param_type_match' => true, + 'prefer_narrowed_phpdoc_param_type' => true, + 'prefer_narrowed_phpdoc_return_type' => true, + 'allow_method_param_type_widening' => false, + 'analyze_signature_compatibility' => true, + 'dead_code_detection' => true, 'backward_compatibility_checks' => false, 'quick_mode' => false, 'analyze_signature_compatibility' => true,