format/functions
Function and method declarations, calls, arguments and closures. Also in lint (14) and analyse (16).
argument-spacing
In method arguments and method call, there MUST NOT be a space before each comma and there MUST be one space after each comma. Argument lists MAY be split across multiple lines, where each subsequent line is indented once. When doing so, the first item in the list MUST be on the next line, and there MUST be only one argument per line.
In the format-laravel and format-psr12 presets. Safe fix.
backtick-to-shell-exec
Converts backtick operators to shell_exec calls.
Not in any preset. Safe fix. Upstream gates: strictRules.disallowedBacktick.
chain-indentation
Method chaining MUST be properly indented. Method chaining with different levels of indentation is not supported.
In the format-laravel preset. Safe fix.
declaration
Spaces should be properly placed in a function declaration.
In the format-laravel and format-psr12 presets. Safe fix.
no-alias-construct-call
Master language constructs shall be used instead of aliases.
In the format-laravel preset. Safe fix.
no-space-after-name
When making a method or function call, there MUST NOT be a space between the method or function name and the opening parenthesis.
In the format-laravel and format-psr12 presets. Safe fix.
return-type-spacing
Adjust spacing around colon in return type declarations and backed enum types.
In the format-laravel and format-psr12 presets. Safe fix.
single-line-throw
Throwing exception must be done in single line.
Not in any preset. Safe fix.