format/statements/single-line-empty-body
In the format-laravel preset. Safe fix.
What it does
Empty body of class, interface, trait, enum or function must be abbreviated as {} and placed on the same line as the previous symbol, separated by a single space.
Configuration
[format.rules]
"statements/single-line-empty-body" = true
To skip it in some files, add a @pun-ignore-file comment.
Replaces
single_line_empty_body(php-cs-fixer)