@@ -346,14 +346,11 @@ public function testAllConfiguredRulesAreBuiltIn(): void
346
346
/**
347
347
* @dataProvider provideDoesNotHaveRulesEnabledCases
348
348
*
349
- * @param string $fixer
350
349
* @param array<int|string, string>|string $reason
351
350
*
352
351
* @throws \PHPUnit\Framework\ExpectationFailedException
353
352
* @throws \SebastianBergmann\RecursionContext\InvalidArgumentException
354
353
* @throws Exception
355
- *
356
- * @return void
357
354
*/
358
355
public function testDoesNotHaveRulesEnabled (string $ fixer , $ reason ): void
359
356
{
@@ -427,8 +424,6 @@ public function testHeaderCommentFixerIsDisabledByDefault(): void
427
424
428
425
/**
429
426
* @dataProvider provideHeaderCommentFixerIsEnabledIfHeaderIsProvidedCases
430
- *
431
- * @param string $header
432
427
*/
433
428
public function testHeaderCommentFixerIsEnabledIfHeaderIsProvided (string $ header ): void
434
429
{
@@ -532,7 +527,7 @@ protected function getPhp73Rules(): array
532
527
/**
533
528
* @return ((bool|string|string[])[]|bool)[]
534
529
*
535
- * @psalm-return array{@DoctrineAnnotation: true, align_multiline_comment: array{comment_type: string}, no_binary_string: true, no_unset_on_property: false, array_indentation: true, array_syntax: array{syntax: string}, logical_operators: true, pre_increment: false, backtick_to_shell_exec: true, blank_line_before_return: true, class_keyword_remove: false, combine_consecutive_issets: true, combine_consecutive_unsets: true, comment_to_phpdoc: false, compact_nullable_typehint: true, date_time_immutable: true, declare_strict_types: true, dir_constant: true, ereg_to_preg: true, escape_implicit_backslashes: true, explicit_indirect_variable: true, explicit_string_variable: true, ordered_class_elements: true, ordered_imports: array{importsOrder: array{0: string, 1: string, 2: string}}, final_class: true, final_internal_class: true, fully_qualified_strict_types: true, general_phpdoc_annotation_remove: false, hash_to_slash_comment: true, header_comment: false, linebreak_after_opening_tag: true, magic_constant_casing: true, mb_str_functions: false, method_argument_space: array{ensure_fully_multiline: true, keep_multiple_spaces_after_comma: false}, static_lambda: true, string_line_ending: true, method_chaining_indentation: true, modernize_types_casting: true, multiline_comment_opening_closing: true, multiline_whitespace_before_semicolons: array{strategy: string}, no_alternative_syntax: true, no_blank_lines_before_namespace: false, no_multiline_whitespace_before_semicolons: false, no_php4_constructor: false, no_short_echo_tag: true, no_useless_else: true, no_useless_return: true, no_superfluous_elseif: true, phpdoc_to_return_type: true, phpdoc_var_annotation_correct_order: true, no_superfluous_phpdoc_tags: false, not_operator_with_space: false, not_operator_with_successor_space: true, no_homoglyph_names: false, no_unset_cast: true, ordered_interfaces: true, phpdoc_add_missing_param_annotation: array{only_untyped: false}, phpdoc_order: true, phpdoc_types_order: array{null_adjustment: string, sort_algorithm: string}, protected_to_private: true, psr0: false, psr4: true, semicolon_after_instruction: true, simplified_null_return: false, strict_comparison: true, strict_param: true}
530
+ * @psalm-return array{@DoctrineAnnotation: true, align_multiline_comment: array{comment_type: string}, no_binary_string: true, no_unset_on_property: false, array_indentation: true, array_syntax: array{syntax: string}, logical_operators: true, pre_increment: false, backtick_to_shell_exec: true, blank_line_before_return: true, class_keyword_remove: false, combine_consecutive_issets: true, combine_consecutive_unsets: true, comment_to_phpdoc: false, compact_nullable_typehint: true, date_time_immutable: true, declare_strict_types: true, dir_constant: true, ereg_to_preg: true, escape_implicit_backslashes: true, explicit_indirect_variable: true, explicit_string_variable: true, ordered_class_elements: true, ordered_imports: array{importsOrder: array{0: string, 1: string, 2: string}}, final_class: true, final_internal_class: true, fully_qualified_strict_types: true, general_phpdoc_annotation_remove: false, hash_to_slash_comment: true, header_comment: false, linebreak_after_opening_tag: true, magic_constant_casing: true, mb_str_functions: false, method_argument_space: array{ensure_fully_multiline: true, keep_multiple_spaces_after_comma: false}, static_lambda: true, string_line_ending: true, method_chaining_indentation: true, modernize_types_casting: true, multiline_comment_opening_closing: true, multiline_whitespace_before_semicolons: array{strategy: string}, no_alternative_syntax: true, no_blank_lines_before_namespace: false, no_multiline_whitespace_before_semicolons: false, no_php4_constructor: false, no_short_echo_tag: true, no_useless_else: true, no_useless_return: true, no_superfluous_elseif: true, phpdoc_to_return_type: true, phpdoc_var_annotation_correct_order: true, no_superfluous_phpdoc_tags: true, not_operator_with_space: false, not_operator_with_successor_space: true, no_homoglyph_names: false, no_unset_cast: true, ordered_interfaces: true, phpdoc_add_missing_param_annotation: array{only_untyped: true}, phpdoc_order: true, phpdoc_types_order: array{null_adjustment: string, sort_algorithm: string}, protected_to_private: true, psr0: false, psr4: true, semicolon_after_instruction: true, simplified_null_return: false, strict_comparison: true, strict_param: true}
536
531
*/
537
532
protected function getContribRules (): array
538
533
{
@@ -602,14 +597,14 @@ protected function getContribRules(): array
602
597
'no_superfluous_elseif ' => true ,
603
598
'phpdoc_to_return_type ' => true ,
604
599
'phpdoc_var_annotation_correct_order ' => true ,
605
- 'no_superfluous_phpdoc_tags ' => false ,
600
+ 'no_superfluous_phpdoc_tags ' => true ,
606
601
'not_operator_with_space ' => false ,
607
602
'not_operator_with_successor_space ' => true ,
608
603
'no_homoglyph_names ' => false ,
609
604
'no_unset_cast ' => true ,
610
605
'ordered_interfaces ' => true ,
611
606
'phpdoc_add_missing_param_annotation ' => [
612
- 'only_untyped ' => false ,
607
+ 'only_untyped ' => true ,
613
608
],
614
609
'phpdoc_order ' => true ,
615
610
'phpdoc_types_order ' => [
0 commit comments