Skip to content

Commit ef003a0

Browse files
authored
Remove UnusedFunctionParameter sniff (#17)
* Remove UnusedFunctionParameter sniff * Update expected_csv.txt
1 parent 582d97c commit ef003a0

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

Proton/ruleset.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<rule ref="Generic.PHP.DeprecatedFunctions"/>
2323
<rule ref="Generic.Formatting.SpaceAfterCast"/>
2424
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
25-
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
2625
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod"/>
2726
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement"/>
2827
<rule ref="Generic.CodeAnalysis.EmptyPHPStatement"/>

tests/expected_csv.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,9 @@ Line,Column,Type,Source
6161
6,1,error,SlevomatCodingStandard.Namespaces.UnusedUses.UnusedUse
6262
58,60,error,SlevomatCodingStandard.TypeHints.UnionTypeHintFormat.NullTypeHintNotOnLastPosition
6363
58,32,error,SlevomatCodingStandard.TypeHints.UnionTypeHintFormat.NullTypeHintNotOnLastPosition
64-
58,13,warning,Generic.CodeAnalysis.UnusedFunctionParameter.Found
6564
53,54,error,SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing.WhitespaceBeforeColon
6665
53,54,error,SlevomatCodingStandard.TypeHints.UnionTypeHintFormat.DisallowedWhitespace
6766
53,52,error,PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon
68-
53,20,warning,Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
6967
53,20,error,PSR1.Methods.CamelCapsMethodName.NotCamelCaps
7068
53,20,error,SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint
7169
53,20,error,SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingAnyTypeHint

0 commit comments

Comments
 (0)