Run Rector on your code to see what it can do for you:
<?php -$foo = isset($bar) ? $bar : ($baz && $qux); +$foo = $bar ?? $baz && $qux;
Applied Rules:
Not a change you expect?
rector.php