From 53ca1ecd62b0dc2ab8ea48635f583cb361c5e8f2 Mon Sep 17 00:00:00 2001 From: mscherer Date: Sun, 1 Jan 2023 16:31:05 +0100 Subject: [PATCH] Fix CS --- PSR2R/ruleset.xml | 8 +++++++- docs/sniffs.md | 9 +++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/PSR2R/ruleset.xml b/PSR2R/ruleset.xml index b30c310..92e0186 100644 --- a/PSR2R/ruleset.xml +++ b/PSR2R/ruleset.xml @@ -43,7 +43,13 @@ - + + + + + + + diff --git a/docs/sniffs.md b/docs/sniffs.md index 94a79c3..ee89e14 100644 --- a/docs/sniffs.md +++ b/docs/sniffs.md @@ -1,6 +1,6 @@ # PSR2R Code Sniffer -The PSR2R standard contains 187 sniffs +The PSR2R standard contains 188 sniffs Generic (22 sniffs) ------------------- @@ -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 @@ -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