Skip to content

Function and Method Calls

Vinicius Reif Biavatti edited this page Jul 25, 2022 · 1 revision
  • When some function call exceeds the line length, use break-line
  • Put arguments in the next line when function exceed the line length

✅ Do

big_function_name_that_almost_exceed_the_line_length_and_has_a_big_name(
    'argument1', 'argument2', 'argument3',
)

❌ Don't

big_function_name_that_almost_exceed_the_line_length_and_has_a_big_name(
    'argument1', 
    'argument2', 
    'argument3',
)
Clone this wiki locally