format/functions/single-line-throw
Not in any preset. Safe fix.
What it does
Throwing exception must be done in single line.
Configuration
[format.rules]
"functions/single-line-throw" = true
To skip it in some files, add a @pun-ignore-file comment.
Replaces
single_line_throw(php-cs-fixer)