Skip to content

Commit 1b88605

Browse files
committed
avoid removing '@param mixed' for compatibility with php-cs-fix version used in PHP 7.3
1 parent ff656da commit 1b88605

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.php-cs-fixer.dist.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
'modernize_types_casting' => true, // Replaces intval, floatval, doubleval, strval and boolval function calls with according type casting operator.
2525
'multiline_whitespace_before_semicolons' => true, // Forbid multi-line whitespace before the closing semicolon or move the semicolon to the new line for chained calls.
2626
'no_unreachable_default_argument_value' => true, // In function arguments there must not be arguments with default values before non-default ones.
27+
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],// To avoid problems of compatibility with the old php-cs-fixer version used on PHP 7.3
2728
'no_useless_else' => true,
2829
'no_useless_return' => true,
2930
'ordered_class_elements' => true, // Orders the elements of classes/interfaces/traits.

0 commit comments

Comments
 (0)