From 0d7ff95736ac8ce1f23a3e90f19acf90afab20fb Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Wed, 5 Jul 2023 20:41:54 -0700 Subject: [PATCH] Add coding standards rule to use the null coalescing operator ?? where possible --- tests/.php-cs-fixer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/.php-cs-fixer.php b/tests/.php-cs-fixer.php index 42db366..b9014c2 100644 --- a/tests/.php-cs-fixer.php +++ b/tests/.php-cs-fixer.php @@ -75,6 +75,7 @@ $config 'short_scalar_cast' => true, 'strict_comparison' => true, 'strict_param' => true, + 'ternary_to_null_coalescing' => true, 'trailing_comma_in_multiline' => true, 'yoda_style' => [ 'equal' => false,