Skip to content

Commit

Permalink
Adjust the NullableTypeDeclarationForDefaultNullValueFixer
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Sep 30, 2024
1 parent 55d47f7 commit e631502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/contao.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
$ecsConfig->rule(\PhpCsFixer\Fixer\LanguageConstruct\NoUnsetOnPropertyFixer::class);
$ecsConfig->rule(\PhpCsFixer\Fixer\ControlStructure\NoUselessElseFixer::class);
$ecsConfig->rule(\PhpCsFixer\Fixer\ReturnNotation\NoUselessReturnFixer::class);
$ecsConfig->ruleWithConfiguration(\PhpCsFixer\Fixer\FunctionNotation\NullableTypeDeclarationForDefaultNullValueFixer::class, ['use_nullable_type_declaration' => false]);
$ecsConfig->rule(\PhpCsFixer\Fixer\FunctionNotation\NullableTypeDeclarationForDefaultNullValueFixer::class);
$ecsConfig->rule(\SlevomatCodingStandard\Sniffs\TypeHints\NullTypeHintOnLastPositionSniff::class);
$ecsConfig->rule(\PhpCsFixer\Fixer\ClassNotation\OrderedClassElementsFixer::class);
$ecsConfig->rule(\Symplify\CodingStandard\Fixer\Commenting\ParamReturnAndVarTagMalformsFixer::class);
Expand Down

0 comments on commit e631502

Please sign in to comment.