Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Jan 1, 2023
1 parent bff8d67 commit 53ca1ec
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
8 changes: 7 additions & 1 deletion PSR2R/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@

<rule ref="SlevomatCodingStandard.Functions.ArrowFunctionDeclaration"/>
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInCall"/>
<rule ref="SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUse"/>
<rule ref="SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration"/>
<rule ref="SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse"/>
<rule ref="SlevomatCodingStandard.Functions.DisallowTrailingCommaInCall">
<properties>
<property name="onlySingleLine" type="boolean" value="true"/>
</properties>
</rule>

<rule ref="Spryker.Commenting.DisallowArrayTypeHintSyntax"/>
<rule ref="Spryker.Commenting.TypeHint"/>
Expand Down
9 changes: 5 additions & 4 deletions docs/sniffs.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PSR2R Code Sniffer

The PSR2R standard contains 187 sniffs
The PSR2R standard contains 188 sniffs

Generic (22 sniffs)
-------------------
Expand Down Expand Up @@ -105,7 +105,7 @@ PSR2R (44 sniffs)
- PSR2R.WhiteSpace.TabIndent
- PSR2R.WhiteSpace.UnaryOperatorSpacing

SlevomatCodingStandard (41 sniffs)
SlevomatCodingStandard (42 sniffs)
----------------------------------
- SlevomatCodingStandard.Arrays.DisallowImplicitArrayCreation
- SlevomatCodingStandard.Arrays.MultiLineArrayEndBracketPlacement
Expand All @@ -127,8 +127,9 @@ SlevomatCodingStandard (41 sniffs)
- SlevomatCodingStandard.ControlStructures.RequireShortTernaryOperator
- SlevomatCodingStandard.Exceptions.DeadCatch
- SlevomatCodingStandard.Functions.ArrowFunctionDeclaration
- SlevomatCodingStandard.Functions.RequireTrailingCommaInCall
- SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUse
- SlevomatCodingStandard.Functions.DisallowTrailingCommaInCall
- SlevomatCodingStandard.Functions.DisallowTrailingCommaInClosureUse
- SlevomatCodingStandard.Functions.DisallowTrailingCommaInDeclaration
- SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses
- SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly
- SlevomatCodingStandard.Namespaces.RequireOneNamespaceInFile
Expand Down

0 comments on commit 53ca1ec

Please sign in to comment.