Problem/Motivation
To enforce the standard approved in #3295249: Allow multi-line function declarations.
Some testing was done for core about this that should be helpful. The results are in #3295249-57: Allow multi-line function declarations
To enforce the standard approved in #3295249: Allow multi-line function declarations.
Some testing was done for core about this that should be helpful. The results are in #3295249-57: Allow multi-line function declarations
Comments
Comment #3
klausiMakes sense, I pushed the configuration change to validate the indentation of mulit-line function declaration.
Missing is the trailing comma validation for the last parameter, did not find anything in the upstream Squiz.Functions.MultiLineFunctionDeclaration sniff. Will open a new issue for that.
Comment #4
klausiCreated #3440603: Validate trailing comma in multi-line function declaration.