diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index d197afd5b..67707a5e7 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -45,7 +45,7 @@ 'no_useless_return' => true, 'no_superfluous_elseif' => true, 'no_superfluous_phpdoc_tags' => ['allow_mixed' => true, 'remove_inheritdoc' => true], - 'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => true], + 'nullable_type_declaration_for_default_null_value' => true, 'ordered_class_elements' => true, 'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['class', 'function', 'const']], 'phpdoc_order' => ['order' => ['var', 'param', 'throws', 'return', 'phpstan-var', 'psalm-var', 'phpstan-param', 'psalm-param', 'phpstan-return', 'psalm-return']], diff --git a/tests/Form/Type/RolesMatrixTypeTest.php b/tests/Form/Type/RolesMatrixTypeTest.php index f45b37f5d..f9c5621f2 100755 --- a/tests/Form/Type/RolesMatrixTypeTest.php +++ b/tests/Form/Type/RolesMatrixTypeTest.php @@ -154,7 +154,7 @@ protected function getExtensions(): array $childType = new RolesMatrixType($this->roleBuilder); return [new PreloadedExtension([ - $childType, + $childType, ], [])]; } }