docs/Unused-Parameters.md in reek-4.0.1 vs docs/Unused-Parameters.md in reek-4.0.2

- old
+ new

@@ -1,10 +1,11 @@ ## Introduction -`Unused Parameter` refers to methods with parameters that are unused in scope of the method. +_Unused Parameter_ refers to methods with parameters that are unused in scope of the method. -Having unused parameters in a method is code smell because leaving dead code in a method can never improve the method and it makes the code confusing to read. +Having unused parameters in a method is code smell because leaving dead code in +a method can never improve the method and it makes the code confusing to read. ## Example Given: @@ -17,11 +18,11 @@ ``` Reek would emit the following warning: ``` -[2]:Klass#unused_parameters has unused parameter 'z' (UnusedParameters) +[2]:UnusedParameters: Klass#unused_parameters has unused parameter 'z' ``` ## Configuration -`Unused Parameter` offers the [Basic Smell Options](Basic-Smell-Options.md). +_Unused Parameter_ offers the [Basic Smell Options](Basic-Smell-Options.md).