From 01206ae711aeb525d2527a69dbdf4776b850c15e Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Thu, 26 Oct 2023 10:44:18 +0200 Subject: [PATCH 1/2] Remove UnusedFunctionParameter sniff --- Proton/ruleset.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/Proton/ruleset.xml b/Proton/ruleset.xml index 5bb1c3d..2e3a8b8 100644 --- a/Proton/ruleset.xml +++ b/Proton/ruleset.xml @@ -22,7 +22,6 @@ - From a5513984e8be15c64c63342a775944e386b15813 Mon Sep 17 00:00:00 2001 From: Mathieu Rochette Date: Fri, 27 Oct 2023 09:19:32 +0200 Subject: [PATCH 2/2] Update expected_csv.txt --- tests/expected_csv.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/expected_csv.txt b/tests/expected_csv.txt index d92bf3a..2da8c68 100644 --- a/tests/expected_csv.txt +++ b/tests/expected_csv.txt @@ -61,11 +61,9 @@ Line,Column,Type,Source 6,1,error,SlevomatCodingStandard.Namespaces.UnusedUses.UnusedUse 58,60,error,SlevomatCodingStandard.TypeHints.UnionTypeHintFormat.NullTypeHintNotOnLastPosition 58,32,error,SlevomatCodingStandard.TypeHints.UnionTypeHintFormat.NullTypeHintNotOnLastPosition -58,13,warning,Generic.CodeAnalysis.UnusedFunctionParameter.Found 53,54,error,SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.WhitespaceBeforeColon 53,54,error,SlevomatCodingStandard.TypeHints.UnionTypeHintFormat.DisallowedWhitespace 53,52,error,PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon -53,20,warning,Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed 53,20,error,PSR1.Methods.CamelCapsMethodName.NotCamelCaps 53,20,error,SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint 53,20,error,SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint