File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 301301 <exclude-pattern >tests/*\.php</exclude-pattern >
302302 </rule >
303303 <rule ref =" SlevomatCodingStandard.Functions.DisallowTrailingCommaInCall" />
304- <rule ref =" SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse" />
304+ <rule ref =" SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse" >
305+ <properties >
306+ <property name =" onlySingleLine" value =" true" />
307+ </properties >
308+ </rule >
305309 <rule ref =" SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration" />
306310 <!-- Forbid long functions and methods -->
307311 <rule ref =" SlevomatCodingStandard.Functions.FunctionLength" >
317321 </properties >
318322 </rule >
319323 <rule ref =" SlevomatCodingStandard.Functions.RequireSingleLineCall" />
320- <rule ref =" SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUse" />
324+ <!-- <rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUse"/> -- >
321325 <rule ref =" SlevomatCodingStandard.Functions.StaticClosure" />
322326 <rule ref =" SlevomatCodingStandard.Functions.StrictCall" />
323327 <rule ref =" SlevomatCodingStandard.Functions.UnusedInheritedVariablePassedToClosure" />
You can’t perform that action at this time.
0 commit comments