Skip to content

Arguments

Vinicius Reif Biavatti edited this page Jul 25, 2022 · 1 revision
  • When some function call exceeds the line length, use break-line
  • Adjust the next line args to the same position of first line args

✅ Do

function('argument1', 'argument2', 'argument3', 'argument4', 'argument5',
         'argument6', 'argument7')

❌ Don't

function('argument1', 'argument2', 'argument3', 'argument4', 'argument5',
    'argument6', 'argument7')

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