From c83c5250553b28cbd774fa65989dd096703cccf3 Mon Sep 17 00:00:00 2001 From: Dennis Friis Date: Mon, 29 Nov 2021 13:45:46 +0100 Subject: [PATCH] csfixer: enable ternary_to_null_coalescing rule. --- src/CegoRuleSet.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CegoRuleSet.php b/src/CegoRuleSet.php index dad8719..fcbcdf4 100644 --- a/src/CegoRuleSet.php +++ b/src/CegoRuleSet.php @@ -31,6 +31,7 @@ public static function get(): array 'full_opening_tag' => true, 'whitespace_after_comma_in_array' => true, 'single_quote' => true, + 'ternary_to_null_coalescing' => true, 'return_type_declaration' => ['space_before' => 'none'], 'array_syntax' => ['syntax' => 'short'], @@ -52,4 +53,4 @@ public static function get(): array ], ]; } -} \ No newline at end of file +}