Skip to content

Commit 44f398f

Browse files
committed
1 parent bfafc49 commit 44f398f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

IxDFCodingStandard/ruleset.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,11 @@
291291
<rule ref="SlevomatCodingStandard.Exceptions.ReferenceThrowableOnly"/>
292292
<rule ref="SlevomatCodingStandard.Exceptions.RequireNonCapturingCatch"/>
293293
<rule ref="SlevomatCodingStandard.Files.FileLength"/>
294-
<rule ref="SlevomatCodingStandard.Functions.ArrowFunctionDeclaration"/>
294+
<rule ref="SlevomatCodingStandard.Functions.ArrowFunctionDeclaration">
295+
<properties>
296+
<property name="spacesCountAfterKeyword" value="0"/>
297+
</properties>
298+
</rule>
295299
<rule ref="SlevomatCodingStandard.Functions.DisallowEmptyFunction"/>
296300
<rule ref="SlevomatCodingStandard.Functions.DisallowNamedArguments">
297301
<exclude-pattern>tests/*\.php</exclude-pattern>

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
}
3232
},
3333
"scripts": {
34+
"cs": "@cs:fix",
3435
"cs:check": "phpcs -p -s --colors --report-full --report-summary --cache=.cache/phpcs",
3536
"cs:fix": "phpcbf -p --colors --cache=.cache/phpcs",
3637
"test": "phpunit",

0 commit comments

Comments
 (0)