coding-standard icon indicating copy to clipboard operation
coding-standard copied to clipboard

[Classes.RequireMultiLineMethodSignature] Option when has attributes

Open yguedidi opened this issue 2 years ago • 2 comments

Would it be possible to have a new option hasAttributes for SlevomatCodingStandard.Classes.RequireMultiLineMethodSignature? Goal is to force multi line method signature when there is at least one attribute involved in the parameters

yguedidi avatar Apr 26 '23 00:04 yguedidi

@kukulich is the addition of the label means the idea is accepted? if yes I can try to come with a PR :)

yguedidi avatar May 05 '23 16:05 yguedidi

@yguedidi Yes, I will accept such PR.

kukulich avatar May 05 '23 16:05 kukulich