Skip to content

Commit 9ecf2eb

Browse files
committed
Allow named arguments as it improves code readability
1 parent dd6d167 commit 9ecf2eb

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

FigLabCodingStandard/ruleset.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,9 @@
5959
</properties>
6060
</rule>
6161

62-
<!-- Only allow named arguments in providers, used mostly in Filament providers. -->
62+
<!-- Allow named arguments as it improves code readability. -->
6363
<rule ref="SlevomatCodingStandard.Functions.DisallowNamedArguments.DisallowedNamedArgument">
64-
<exclude-pattern>./bootstrap/*.php</exclude-pattern>
65-
<exclude-pattern>./app/Providers/*.php</exclude-pattern>
66-
<exclude-pattern>./modules/*/src/Providers/*.php</exclude-pattern>
64+
<exclude-pattern>./</exclude-pattern>
6765
</rule>
6866

6967
<!-- Only allow in providers, because boot() and register() methods are sometimes empty. -->

0 commit comments

Comments
 (0)