Skip to content

Commit

Permalink
Drop SlevomatCodingStandard.Functions.Disallow(ArrowFunction|NamedArg…
Browse files Browse the repository at this point in the history
…uments)
  • Loading branch information
o5 committed Dec 17, 2024
1 parent 79b87c4 commit fd91f43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 2 additions & 4 deletions SNIFFS.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

The SlimAPI standard contains 219 sniffs
The SlimAPI standard contains 217 sniffs

Generic (48 sniffs)
-------------------
Expand Down Expand Up @@ -86,7 +86,7 @@ PSR2 (12 sniffs)
PSR2.Namespaces.NamespaceDeclaration
PSR2.Namespaces.UseDeclaration

SlevomatCodingStandard (105 sniffs)
SlevomatCodingStandard (103 sniffs)
-----------------------------------
SlevomatCodingStandard.Arrays.AlphabeticallySortedByKeys
SlevomatCodingStandard.Arrays.ArrayAccess
Expand Down Expand Up @@ -139,9 +139,7 @@ SlevomatCodingStandard (105 sniffs)
SlevomatCodingStandard.Exceptions.DeadCatch
SlevomatCodingStandard.Exceptions.ReferenceThrowableOnly
SlevomatCodingStandard.Exceptions.RequireNonCapturingCatch
SlevomatCodingStandard.Functions.DisallowArrowFunction
SlevomatCodingStandard.Functions.DisallowEmptyFunction
SlevomatCodingStandard.Functions.DisallowNamedArguments
SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse
SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration
SlevomatCodingStandard.Functions.NamedArgumentSpacing
Expand Down
2 changes: 1 addition & 1 deletion STANDARD.md
Original file line number Diff line number Diff line change
Expand Up @@ -2994,4 +2994,4 @@ When declaring strict types you should not put whitespace around the opening bra

## Multiple Empty Lines
Multiple consecutive newlines in a file are not allowed.
Documentation generated on Sun, 08 Dec 2024 13:36:56 +0100 by [PHP_CodeSniffer 3.11.1](https://github.com/PHPCSStandards/PHP_CodeSniffer)
Documentation generated on Tue, 17 Dec 2024 16:45:22 +0100 by [PHP_CodeSniffer 3.11.1](https://github.com/PHPCSStandards/PHP_CodeSniffer)
2 changes: 0 additions & 2 deletions src/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,7 @@
<rule ref="SlevomatCodingStandard.Exceptions.ReferenceThrowableOnly"/>
<rule ref="SlevomatCodingStandard.Exceptions.RequireNonCapturingCatch"/>

<rule ref="SlevomatCodingStandard.Functions.DisallowArrowFunction"/>
<rule ref="SlevomatCodingStandard.Functions.DisallowEmptyFunction"/>
<rule ref="SlevomatCodingStandard.Functions.DisallowNamedArguments"/>
<rule ref="SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse"/>
<rule ref="SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration">
<properties>
Expand Down

0 comments on commit fd91f43

Please sign in to comment.