lint/style/prefer-static-private-method
Not in any set. Unsafe fix: it can change behaviour.
What it does
Converts private methods to static where possible.
Configuration
[lint.rules]
"style/prefer-static-private-method" = "error"
To skip it in some files, add an override or a @pun-ignore-file comment.
Replaces
static_private_method(php-cs-fixer, risky)