RL0400 - Ensures all argument lists have the proper whitespace

Arguments lists, separated by commas must be properly formatted.

  • Parenthesis must be immediately followed with a non-whitespace
  • Parenthesis must be on the same line as the previous token
  • Parenthesis must immediately follow the previous token
  • Commas must be on the same line as the preceeding argument
  • Commas must not have preceeding whitespace
  • Commas must be followed by one whitespace character

Accepted

MethodCall(argument1, argument2, argument3);

Rejected

MethodCall(argument1,argument2,argument3);
MethodCall(argument1,argument2,argument3
);
MethodCall(argument1
, argument2, argument3);
MethodCall(argument );
MethodCall(argument1 , argument2 , argument3);
MethodCall(argument1, argument2, argument3);