format/statements/no-space-before-semicolon
In the format-laravel preset. Safe fix.
What it does
Single-line whitespace before closing semicolon are prohibited.
Configuration
[format.rules]
"statements/no-space-before-semicolon" = true
To skip it in some files, add a @pun-ignore-file comment.
Replaces
no_singleline_whitespace_before_semicolons(php-cs-fixer)