Describe the bug
Since PHP 8.0 expressions can now throw exceptions.
So the code below is valid. However, it triggers Squiz.PHP.NonExecutableCode.Unreachable warning.
Code sample
$input = TRUE;
$input ?: throw new \RuntimeException('Error.');
echo 'The code was executed';