Skip to content

Commit

Permalink
Merge pull request #2 from cego/df/csfixer-enable-ternary-to-null-coa…
Browse files Browse the repository at this point in the history
…lescing-fixer

csfixer: enable ternary_to_null_coalescing rule.
  • Loading branch information
friis-koder authored Nov 29, 2021
2 parents af2bad1 + c83c525 commit 1944fc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CegoRuleSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand All @@ -52,4 +53,4 @@ public static function get(): array
],
];
}
}
}

0 comments on commit 1944fc6

Please sign in to comment.