You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In anonymous class style, I expected, class keyword, one space, parentheses, one space and opening curly brace.
but actual, no one space after class keyword.
In anonymous class style, I expected, class keyword, one space, parentheses, one space and opening curly brace.
but actual, no one space after class keyword.
sample
test code
expected
actual
reference
in PHP-CS-Fixer with @psr12 Rulesets,
'space_before_parenthesis' option is true
https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/f45c5a08595b5d09b1aec3b284a5fc854fc9eeb2/doc/rules/class_notation/class_definition.rst#example-5
in PHP_CodeSniffer is same style
squizlabs/PHP_CodeSniffer#3200
The text was updated successfully, but these errors were encountered: