From f0c8c7e2d47fc19345c4fb9c1905a9d93b37c624 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 30 Jun 2020 19:37:16 +0200 Subject: [PATCH] Update rules. --- config/php/phpcsfixer.rules.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/config/php/phpcsfixer.rules.yml b/config/php/phpcsfixer.rules.yml index 9e6ae85..139d61b 100644 --- a/config/php/phpcsfixer.rules.yml +++ b/config/php/phpcsfixer.rules.yml @@ -161,7 +161,10 @@ parameters: no_spaces_after_function_name: true no_spaces_inside_parenthesis: true no_superfluous_elseif: true - no_superfluous_phpdoc_tags: false + no_superfluous_phpdoc_tags: + allow_mixed: true + allow_unused_params: false + remove_inheritdoc: false no_trailing_comma_in_list_call: true no_trailing_comma_in_singleline_array: true no_trailing_whitespace_in_comment: true @@ -235,7 +238,7 @@ parameters: call_type: self php_unit_test_class_requires_covers: true phpdoc_add_missing_param_annotation: - only_untyped: false + only_untyped: true phpdoc_align: false phpdoc_annotation_without_dot: false phpdoc_indent: true